db\BaseActiveRecord $primaryKey

$primaryKey public read-only property

The primary key value. An array (column name => column value) is returned if the primary key is composite or $asArray is true. A string is returned otherwise (null will be returned if the key value is null).

public mixed getPrimaryKey ( $asArray = false )
doc_Yii
2016-10-30 16:56:35
Comments
Leave a Comment

Please login to continue.