All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions
HasOneModelAttributeForm Class Reference
Inheritance diagram for HasOneModelAttributeForm:
AttributeForm ConfigurableMetadataModel AccountAttributeForm ContactAttributeForm OpportunityAttributeForm ProductAttributeForm ProductTemplateAttributeForm ProjectAttributeForm UserAttributeForm

Public Member Functions

 getHasOneModelClassName ()
 
- Public Member Functions inherited from AttributeForm
 __construct (RedBeanModel $model=null, $attributeName=null)
 
 __toString ()
 
 rules ()
 
 attributeLabels ()
 
 canUpdateAttributeProperty ($propertyName)
 
 getAttributeTypeName ()
 
 getModelAttributePartialRule ()
 
 validateAttributeNameDoesNotExists ()
 
 validateIsAttributeNameDatabaseReservedWord ()
 
 validateAttributeDoesNotContainReservedCharacters ()
 
 validateAttributeLabels ($attribute, $params)
 
 setModelClassName ($modelClassName)
 
 getModelClassName ()
 
 sanitizeFromPostAndSetAttributes ($values)
 

Static Public Member Functions

static getModelAttributeAdapterNameForSavingAttributeFormData ()
 
- Static Public Member Functions inherited from AttributeForm
static getAttributeTypeDisplayName ()
 
static getAttributeTypeDisplayDescription ()
 
static getModelAttributeAdapterNameForSavingAttributeFormData ()
 

Additional Inherited Members

- Data Fields inherited from AttributeForm
 $attributeName
 
 $attributeLabels
 
 $defaultValue = null
 
 $isAudited = false
 
 $isRequired = false
 
- Protected Attributes inherited from AttributeForm
 $attributePropertyToDesignerFormAdapter
 
 $modelClassName
 

Detailed Description

Base class for working with relations that are hasOne and display in the user interface to be selected. An example is an account picked from an opportunity.

Definition at line 41 of file HasOneModelAttributeForm.php.

Member Function Documentation

static getModelAttributeAdapterNameForSavingAttributeFormData ( )
static
getHasOneModelClassName ( )
Returns
string, the type is also the name of the model for children that extend this class. This method should be refactored if that changes in the future.

Definition at line 55 of file HasOneModelAttributeForm.php.


The documentation for this class was generated from the following file:
Generated on Thu Jun 4 2020 07:10:48