CustomFieldData Class Reference

Inheritance diagram for CustomFieldData:
RedBeanModel BeanModel ObservableComponent

Public Member Functions

 __toString ()
 save ($runValidation=true, array $attributeNames=null)

Static Public Member Functions

static getByName ($name, $shouldCache=true)
static getDefaultMetadata ()
static forgetAllPhpCache ()

Protected Member Functions

 unrestrictedDelete ()

Detailed Description

Definition at line 37 of file CustomFieldData.php.

Member Function Documentation

static getByName ( name,
shouldCache = true 
) [static]

Given a name, get the custom field data model. Attempts to retrieve from cache, if it is not available, will attempt to retrieve from persistent storage, cache the model, and return.

string $name
CustomFieldData model

Definition at line 52 of file CustomFieldData.php.

__toString (  ) 

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

A string.

Reimplemented from RedBeanModel.

Definition at line 90 of file CustomFieldData.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 RedBeanModel.

Definition at line 95 of file CustomFieldData.php.

save ( runValidation = true,
array $  attributeNames = null 

Any changes to the model must be re-cached.

See also:

Reimplemented from RedBeanModel.

Definition at line 125 of file CustomFieldData.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Nov 14 07:10:56 2019