ContactsDemoDataMaker Class Reference

Inheritance diagram for ContactsDemoDataMaker:
PersonDemoDataMaker DemoDataMaker LeadsDemoDataMaker

Public Member Functions

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

Static Public Member Functions

static getDependencies ()
static getStatesBeforeOrStartingWithStartingState ($states)

Static Protected Member Functions

static makeEmailAddressByPerson (&$model)
static resolveDomainName (&$model)
static shouldIncludeState ($stateOrder, $startingStateOrder)

Protected Attributes

 $ratioToLoad = 2

Detailed Description

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

Reimplemented in LeadsDemoDataMaker.

Definition at line 45 of file ContactsDemoDataMaker.php.

makeAll ( &$  demoDataByModelClassName  ) 

Given an array of existing data models, make all the demo data for this module.

Parameters:
array $demoDataByModelClassName

Reimplemented from DemoDataMaker.

Reimplemented in LeadsDemoDataMaker.

Definition at line 50 of file ContactsDemoDataMaker.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 PersonDemoDataMaker.

Reimplemented in LeadsDemoDataMaker.

Definition at line 73 of file ContactsDemoDataMaker.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Oct 21 07:10:23 2017