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

DemoDataHelper Class Reference

Public Member Functions

 getRangeByModelName ($modelName)
 setRangeByModelName ($modelName, $startId, $endId)
 getRandomByModelName ($modelName)
 isSetRange ($modelName)

Protected Attributes

 $demoData = array()

Detailed Description

Demo Data Helper Class

Definition at line 39 of file DemoDataHelper.php.


Member Function Documentation

getRangeByModelName ( modelName  ) 

Get id range for model

Parameters:
string $modelName
Returns:
array

Definition at line 48 of file DemoDataHelper.php.

setRangeByModelName ( modelName,
startId,
endId 
)

Set id range for model

Parameters:
string $modelName
int $startId
int $endId

Definition at line 62 of file DemoDataHelper.php.

getRandomByModelName ( modelName  ) 

Get random model (from list of model available ids)

Parameters:
string $modelName
Returns:
object $model

Definition at line 82 of file DemoDataHelper.php.

isSetRange ( modelName  ) 

Check if range is setup for module

Parameters:
string $modelName
Returns:
boolean $isSet

Definition at line 99 of file DemoDataHelper.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Mar 20 07:10:52 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