Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Public Member Functions | Protected Attributes
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:
Generated on Sat Nov 28 2020 07:10:56
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.