All Data Structures Functions Variables Pages
Static Public Member Functions | Static Protected Member Functions
ModulesSearchWithDataProviderTestHelper Class Reference

Static Public Member Functions

static createCustomFieldData ($name)
static createCustomAttributesForModel (RedBeanModel $model)
static createAccounts ()
static createCheckBoxAttribute (RedBeanModel $model, $name, $isRequired=false)
static createCurrencyValueAttribute (RedBeanModel $model, $name, $isRequired=false)
static createDateAttribute (RedBeanModel $model, $name, $isRequired=false)
static createDateTimeAttribute (RedBeanModel $model, $name, $isRequired=false)
static createDecimalAttribute (RedBeanModel $model, $name, $isRequired=false)
static createDropDownAttribute (RedBeanModel $model, $name, $isRequired=false)
static createIntegerAttribute (RedBeanModel $model, $name, $isRequired=false)
static createMultiSelectDropDownAttribute (RedBeanModel $model, $name)
static createPhoneAttribute (RedBeanModel $model, $name, $isRequired=false)
static createRadioDropDownAttribute (RedBeanModel $model, $name, $isRequired=false)
static createTextAttribute (RedBeanModel $model, $name, $isRequired=false)
static createTextAreaAttribute (RedBeanModel $model, $name, $isRequired=false)
static createUrlAttribute (RedBeanModel $model, $name, $isRequired=false)

Static Protected Member Functions

static generateAtrributeLabelsByName ($name)

Detailed Description

Helper class for SearchWithDataProvider type test cases. Includes a variety of helper functions to assist creating seed data.

Definition at line 41 of file ModulesSearchWithDataProviderTestHelper.php.

Member Function Documentation

static createCustomFieldData (   $name)
array of values.

Definition at line 46 of file ModulesSearchWithDataProviderTestHelper.php.

static createAccounts ( )

Create sets of accounts mixed and matched by various attributes values.

Definition at line 84 of file ModulesSearchWithDataProviderTestHelper.php.

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