All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes
ProjectsDemoDataMaker Class Reference
Inheritance diagram for ProjectsDemoDataMaker:
DemoDataMaker

Public Member Functions

 makeAll (&$demoDataHelper)
 
 populateModel (&$model)
 
- Public Member Functions inherited from DemoDataMaker
 makeAll (&$demoDataByModelClassName)
 
 populateModel (&$model)
 
 setLoadMagnitude ($loadMagnitude)
 
 getCustomFieldDataByName ($name)
 

Static Public Member Functions

static getDependencies ()
 
- Static Public Member Functions inherited from DemoDataMaker
static getDependencies ()
 

Static Protected Member Functions

static addDemoTasks ($project, $taskInputCount=1, &$demoDataHelper)
 
static getRandomTasks ()
 
static getTaskCheckListItems ($key)
 
static getTaskComments ($key)
 
static getTaskStatusOptions ()
 
- Static Protected Member Functions inherited from DemoDataMaker
static makeDomainByName ($name)
 
static makeUrlByDomainName ($domainName)
 

Protected Attributes

 $loadMagnitude = 5
 
- Protected Attributes inherited from DemoDataMaker
 $ratioToLoad = 1
 
 $loadMagnitude = 10
 

Additional Inherited Members

- Protected Member Functions inherited from DemoDataMaker
 resolveQuantityToLoad ()
 

Detailed Description

Class that builds demo projects

Definition at line 40 of file ProjectsDemoDataMaker.php.

Member Function Documentation

makeAll ( $demoDataHelper)
Parameters
DemoDataHelper$demoDataHelper

Definition at line 56 of file ProjectsDemoDataMaker.php.

populateModel ( $model)

Populate model with required data

Parameters
RedBeanModel$model

Definition at line 87 of file ProjectsDemoDataMaker.php.

static addDemoTasks (   $project,
  $taskInputCount = 1,
$demoDataHelper 
)
staticprotected

Add demo tasks for the project

Parameters
type$project

Definition at line 102 of file ProjectsDemoDataMaker.php.

static getRandomTasks ( )
staticprotected

Gets the list of random task

Returns
array

Definition at line 168 of file ProjectsDemoDataMaker.php.

static getTaskCheckListItems (   $key)
staticprotected

Gets the list of task check items

Returns
array

Definition at line 194 of file ProjectsDemoDataMaker.php.

static getTaskComments (   $key)
staticprotected

Gets the list of task check items

Returns
array

Definition at line 216 of file ProjectsDemoDataMaker.php.

static getTaskStatusOptions ( )
staticprotected

Get random task status options

Returns
array

Definition at line 238 of file ProjectsDemoDataMaker.php.


The documentation for this class was generated from the following file:
Generated on Wed Apr 1 2020 07:11:16