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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.