Свойство | Type | Description | |
---|---|---|---|
$data | the data rows. Each array element represents one row of data (column name => column value). | ||
$dataFile | the file path or path alias of the data file that contains the fixture data to be returned by BaseActiveFixture::getData. You can set this property to be false to prevent loading any data. | ||
$modelClass | the AR model class associated with this fixture. |
Méthode | Description | |
---|---|---|
getModel ( string $name ) : null | |
Returns the AR model by the specified model name. | |
load ( ) | Loads the fixture. | |
unload ( ) |
Méthode | Description | |
---|---|---|
getData ( ) : array | Returns the fixture data. |
public load ( ) |
public $data |
public $dataFile |