db\ActiveRecordInterface primaryKey()

primaryKey() public abstract static method

Returns the primary key name(s) for this AR class.

Note that an array should be returned even when the record only has a single primary key.

For the primary key value see getPrimaryKey() instead.

public abstract static string[] primaryKey ( )
return string[]

The primary key name(s) for this AR class.

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

Please login to continue.