프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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. |
메소드 | 설명 | |
---|---|---|
getModel ( string $name ) : null | |
Returns the AR model by the specified model name. | |
load ( ) | Loads the fixture. | |
unload ( ) |
메소드 | 설명 | |
---|---|---|
getData ( ) : array | Returns the fixture data. |
public load ( ) |
public $data |
public $dataFile |