Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

ProjectsDemoDataMaker Class Reference

Inheritance diagram for ProjectsDemoDataMaker:
DemoDataMaker

Public Member Functions

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

Static Public Member Functions

static getDependencies ()

Static Protected Member Functions

static addDemoTasks ($project, $taskInputCount=1, &$demoDataHelper)
static getRandomTasks ()
static getTaskCheckListItems ($key)
static getTaskComments ($key)
static getTaskStatusOptions ()

Protected Attributes

 $loadMagnitude = 5

Detailed Description

Class that builds demo projects

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

makeAll ( &$  demoDataHelper  ) 
Parameters:
DemoDataHelper $demoDataHelper

Reimplemented from DemoDataMaker.

Definition at line 56 of file ProjectsDemoDataMaker.php.

populateModel ( &$  model  ) 

Populate model with required data

Parameters:
RedBeanModel $model

Reimplemented from DemoDataMaker.

Definition at line 87 of file ProjectsDemoDataMaker.php.

static addDemoTasks ( project,
taskInputCount = 1,
&$  demoDataHelper 
) [static, protected]

Add demo tasks for the project

Parameters:
type $project

Definition at line 102 of file ProjectsDemoDataMaker.php.

static getRandomTasks (  )  [static, protected]

Gets the list of random task

Returns:
array

Definition at line 168 of file ProjectsDemoDataMaker.php.

static getTaskCheckListItems ( key  )  [static, protected]

Gets the list of task check items

Returns:
array

Definition at line 194 of file ProjectsDemoDataMaker.php.

static getTaskComments ( key  )  [static, protected]

Gets the list of task check items

Returns:
array

Definition at line 216 of file ProjectsDemoDataMaker.php.

static getTaskStatusOptions (  )  [static, protected]

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:
 All Data Structures Functions Variables
Generated on Thu Feb 21 07:11:00 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8