GroupsDemoDataMaker Class Reference

Inheritance diagram for GroupsDemoDataMaker:
DemoDataMaker

Public Member Functions

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

Static Public Member Functions

static getDependencies ()

Detailed Description

Class that builds demo groups.

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


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Nov 23 07:10:26 2017