PersonDemoDataMaker Class Reference

Inheritance diagram for PersonDemoDataMaker:
DemoDataMaker ContactsDemoDataMaker UsersDemoDataMaker LeadsDemoDataMaker

Public Member Functions

 populateModel (&$model)

Static Protected Member Functions

static makeEmailAddressByPerson (&$model)
static resolveDemoEmailAddress ($username)

Detailed Description

Modules that have models that extend or mixin the Person model should extend this class for creating demo data.

Definition at line 40 of file PersonDemoDataMaker.php.

Member Function Documentation

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.

Reimplemented in ContactsDemoDataMaker, LeadsDemoDataMaker, and UsersDemoDataMaker.

Definition at line 42 of file PersonDemoDataMaker.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Dec 15 07:11:09 2019