CampaignsDemoDataMaker Class Reference

Inheritance diagram for CampaignsDemoDataMaker:
MarketingDemoDataMaker DemoDataMaker

Public Member Functions

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

Static Public Member Functions

static getDependencies ()

Protected Attributes


Detailed Description

Class that builds demo campaigns.

Definition at line 40 of file CampaignsDemoDataMaker.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 46 of file CampaignsDemoDataMaker.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 51 of file CampaignsDemoDataMaker.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 77 of file CampaignsDemoDataMaker.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