CampaignItemsDemoDataMaker Class Reference

Inheritance diagram for CampaignItemsDemoDataMaker:

Public Member Functions

 makeAll (&$demoDataHelper)
 populateModel (&$model)

Static Public Member Functions

static getDependencies ()

Protected Attributes

 $ratioToLoad = 3

Detailed Description

Class that builds demo campaignItems

Definition at line 40 of file CampaignItemsDemoDataMaker.php.

Member Function Documentation

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.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Apr 24 07:10:23 2017