yii\data\DataProviderInterface::getKeys PHP Method

getKeys() public method

Returns the key values associated with the data models.
public getKeys ( ) : array
return array the list of key values corresponding to [[getModels|models]]. Each data model in [[getModels|models]] is uniquely identified by the corresponding key value in this array.
    public function getKeys();