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 | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
DemoDataMaker Class Reference
Inheritance diagram for DemoDataMaker:
AccountsDemoDataMaker AutoresponderItemsDemoDataMaker CampaignItemsDemoDataMaker ContactWebFormDemoDataMaker ContactWebFormEntryDemoDataMaker ConversationsDemoDataMaker EmailMessageActivitiesDemoDataMaker EmailMessageUrlsDemoDataMaker GameRewardsDemoDataMaker GamificationDemoDataMaker GroupsDemoDataMaker MarketingDemoDataMaker MarketingListMembersDemoDataMaker MarketingListsDemoDataMaker MeetingsDemoDataMaker MissionsDemoDataMaker NotesDemoDataMaker OpportunitiesDemoDataMaker PersonDemoDataMaker ProductCategoriesDemoDataMaker ProductsDemoDataMaker ProductTemplatesDemoDataMaker ProjectsDemoDataMaker ReportsDemoDataMaker RolesDemoDataMaker SocialItemsDemoDataMaker TasksDemoDataMaker ZurmoDemoDataMaker

Public Member Functions

 makeAll (&$demoDataByModelClassName)
 
 populateModel (&$model)
 
 setLoadMagnitude ($loadMagnitude)
 
 getCustomFieldDataByName ($name)
 

Static Public Member Functions

static getDependencies ()
 

Protected Member Functions

 resolveQuantityToLoad ()
 

Static Protected Member Functions

static makeDomainByName ($name)
 
static makeUrlByDomainName ($domainName)
 

Protected Attributes

 $ratioToLoad = 1
 
 $loadMagnitude = 10
 

Detailed Description

Base class for module demo data that can optional be created.

Definition at line 40 of file DemoDataMaker.php.

Member Function Documentation

makeAll ( $demoDataByModelClassName)
abstract

Given an array of existing data models, make all the demo data for this module.

Parameters
array$demoDataByModelClassName
populateModel ( $model)

Can be used when you want to just populate the model with random data, but not save it.

Parameters
RedBeanModel$model

Definition at line 70 of file DemoDataMaker.php.

static getDependencies ( )
static

Returns an array of module class names. These modules must have their demo data built first.

Definition at line 78 of file DemoDataMaker.php.


The documentation for this class was generated from the following file:
Generated on Thu Aug 6 2020 07:10:44
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.