data\ArrayDataProvider $key

$key public property

The column that is used as the key of the data models. This can be either a column name, or a callable that returns the key value of a given data model. If this is not set, the index of the $models array will be used.

See also getKeys().

public string|callable $key = null
doc_Yii
2016-10-30 16:55:44
Comments
Leave a Comment

Please login to continue.