db\BaseActiveRecord isPrimaryKey()

isPrimaryKey() public static method

Returns a value indicating whether the given set of attributes represents the primary key for this model

public static boolean isPrimaryKey ( $keys )
$keys array

The set of attributes to check

return boolean

Whether the given set of attributes represents the primary key for this model

doc_Yii
2016-10-30 16:56:50
Comments
Leave a Comment

Please login to continue.