MultipleValuesCustomField Class Reference

Inheritance diagram for MultipleValuesCustomField:
BaseCustomField RedBeanModel BeanModel ObservableComponent OwnedMultipleValuesCustomField

Public Member Functions

 __toString ()
 setValues ($values)
 stringifyOneToManyRelatedModelsValues ($values)
 getValues ()

Static Public Member Functions

static getDefaultMetadata ()
static updateValueByDataIdAndOldValueAndNewValue ($customFieldDataId, $oldValue, $newValue)

Detailed Description

Base class for handling multi-select dropdowns.

Definition at line 40 of file MultipleValuesCustomField.php.


Member Function Documentation

__toString (  ) 

Returns the displayable string for the class. Should be overridden in any model that can provide a meaningful string representation of itself.

Returns:
A string.

Reimplemented from RedBeanModel.

Definition at line 42 of file MultipleValuesCustomField.php.

static getDefaultMetadata (  )  [static]

Returns the default meta data for the class. It must be appended to the meta data from the parent model, if any.

Reimplemented from BaseCustomField.

Definition at line 64 of file MultipleValuesCustomField.php.

stringifyOneToManyRelatedModelsValues ( values  ) 

Given an array of data, create stringified content. Method is extended to provide support for translating the data into the correct language. (non-PHPdoc)

See also:
RedBeanModel::stringifyOneToManyRelatedModelsValues()

Reimplemented from RedBeanModel.

Definition at line 143 of file MultipleValuesCustomField.php.

getValues (  ) 

Method to return all values as an array

Returns:
array

Definition at line 162 of file MultipleValuesCustomField.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jul 27 07:10:27 2017