elasticsearch\ActiveFixture getData()

getData() protected method

Returns the fixture data.

The default implementation will try to return the fixture data by including the external file specified by $dataFile. The file should return an array of data rows (column name => column value), each corresponding to a row in the index.

If the data file does not exist, an empty array will be returned.

protected array getData ( )
return array

The data rows to be inserted into the database index.

doc_Yii
2016-10-30 17:01:14
Comments
Leave a Comment

Please login to continue.