RolesDemoDataMaker Class Reference

Inheritance diagram for RolesDemoDataMaker:
DemoDataMaker

Public Member Functions

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

Static Public Member Functions

static getDependencies ()

Detailed Description

Class that builds base demo roles.

Definition at line 40 of file RolesDemoDataMaker.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 42 of file RolesDemoDataMaker.php.

makeAll ( &$  demoDataByModelClassName  ) 

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

Parameters:
array $demoDataByModelClassName

Reimplemented from DemoDataMaker.

Definition at line 47 of file RolesDemoDataMaker.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 DemoDataMaker.

Definition at line 70 of file RolesDemoDataMaker.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Apr 29 07:10:28 2017