db\ActiveRecordInterface isPrimaryKey()

isPrimaryKey() public abstract static method

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

public abstract 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:28
Comments
Leave a Comment

Please login to continue.