LeadsDemoDataMaker Class Reference

Inheritance diagram for LeadsDemoDataMaker:
ContactsDemoDataMaker PersonDemoDataMaker DemoDataMaker

Public Member Functions

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

Static Public Member Functions

static getDependencies ()

Static Protected Member Functions

static shouldIncludeState ($stateOrder, $startingStateOrder)

Protected Attributes

 $ratioToLoad = 2

Detailed Description

Class that builds demo leads.

Definition at line 40 of file LeadsDemoDataMaker.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 ContactsDemoDataMaker.

Definition at line 44 of file LeadsDemoDataMaker.php.

makeAll ( &$  demoDataHelper  ) 
Parameters:
DemoDataHelper $demoDataHelper

Reimplemented from ContactsDemoDataMaker.

Definition at line 52 of file LeadsDemoDataMaker.php.

populateModel ( &$  model  ) 

Can be used when you want to just populate the model with random data, but not save it.

Parameters:
RedBeanModel $model

Reimplemented from ContactsDemoDataMaker.

Definition at line 79 of file LeadsDemoDataMaker.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jun 24 07:10:25 2017