Public Member Functions | |
makeAll (&$demoDataHelper) | |
populateModel (&$model) | |
Static Public Member Functions | |
static | getDependencies () |
Protected Attributes | |
$ratioToLoad = 3 |
Class that builds demo campaignItems
Definition at line 40 of file CampaignItemsDemoDataMaker.php.
static getDependencies | ( | ) | [static] |
Returns an array of module class names. These modules must have their demo data built first.
Reimplemented from DemoDataMaker.
Definition at line 44 of file CampaignItemsDemoDataMaker.php.
makeAll | ( | &$ | demoDataByModelClassName | ) |
Given an array of existing data models, make all the demo data for this module.
array | $demoDataByModelClassName |
Reimplemented from DemoDataMaker.
Definition at line 49 of file CampaignItemsDemoDataMaker.php.
populateModel | ( | &$ | model | ) |
Can be used when you want to just populate the model with random data, but not save it.
RedBeanModel | $model |
Reimplemented from DemoDataMaker.
Definition at line 88 of file CampaignItemsDemoDataMaker.php.