|
| makeAll (&$demoDataByModelClassName) |
|
| populateModel (&$model) |
|
| setLoadMagnitude ($loadMagnitude) |
|
| getCustomFieldDataByName ($name) |
|
|
static | makeDomainByName ($name) |
|
static | makeUrlByDomainName ($domainName) |
|
|
| $ratioToLoad = 1 |
|
| $loadMagnitude = 10 |
|
Base class for module demo data that can optional be created.
Definition at line 40 of file DemoDataMaker.php.
makeAll |
( |
& |
$demoDataByModelClassName | ) |
|
|
abstract |
Given an array of existing data models, make all the demo data for this module.
- Parameters
-
array | $demoDataByModelClassName | |
populateModel |
( |
& |
$model | ) |
|
Can be used when you want to just populate the model with random data, but not save it.
- Parameters
-
Definition at line 70 of file DemoDataMaker.php.
static getDependencies |
( |
| ) |
|
|
static |
Returns an array of module class names. These modules must have their demo data built first.
Definition at line 78 of file DemoDataMaker.php.
The documentation for this class was generated from the following file: