data\ActiveDataProvider $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 following rules will be used to determine the keys of the data models:

See also getKeys().

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

Please login to continue.