All Data Structures Functions Variables Pages
Static Public Member Functions | Protected Member Functions
MultipleAccountsForProjectsElement Class Reference
Inheritance diagram for MultipleAccountsForProjectsElement:
MultiSelectRelatedModelsAutoCompleteElement Element DerivedElementInterface

Static Public Member Functions

static getDisplayName ()
 
- Static Public Member Functions inherited from Element
static getDisplayName ()
 
static isReadOnly ()
 
static resolveInputNameForEditableInput ($attributeName)
 
static resolveInputNamePrefixIntoString ($inputNamePrefix)
 
static resolveInputIdPrefixIntoString ($inputIdPrefix)
 

Protected Member Functions

 getFormName ()
 
 getUnqualifiedNameForIdField ()
 
 getUnqualifiedIdForIdField ()
 
 assertModelType ()
 
 getFormattedAttributeLabel ()
 
 getWidgetSourceUrl ()
 
 getWidgetHintText ()
 
 getRelationName ()
 
 renderControlNonEditable ()
 
 getExistingIdsAndLabelsForDetailsView ()
 
 resolveIdAndNameByModelForDetailsView (RedBeanModel $model)
 
 resolveModelNameForRenderingForDetailsView (RedBeanModel $model)
 
- Protected Member Functions inherited from Element
 renderLabel ()
 
 resolveIdForLabel ()
 
 getFormattedAttributeLabel ()
 
 resolveNonActiveFormFormattedLabel ($label)
 
 renderError ()
 
 renderScopedErrorId ($inputNameIdPrefix, $attribute)
 
 renderEditable ()
 
 renderNonEditable ()
 
 renderControlEditable ()
 
 renderControlNonEditable ()
 
 getColumnSpan ()
 
 getDisabledValue ()
 
 getHtmlOptions ()
 
 resolveContentTemplate ($template, $data)
 
 getEditableInputId ($attributeName=null, $relationAttributeName=null)
 
 getEditableInputName ($attributeName=null, $relationAttributeName=null)
 
 resolveInputPrefix ()
 
 resolveInputIdPrefix ()
 
 resolveInputNamePrefix ()
 
 getListViewGridId ()
 

Additional Inherited Members

- Public Member Functions inherited from Element
 __construct ($model, $attribute, $form=null, array $params=array())
 
 render ()
 
 getEditableNameIds ()
 
 getAttribute ()
 
 renderAsControlNonEditable ()
 
- Data Fields inherited from Element
 $params
 
 $editableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}{error}</td>'
 
 $nonEditableTemplate = '<th>{label}</th><td colspan="{colspan}">{content}</td>'
 
- Protected Attributes inherited from Element
 $model
 
 $attribute
 
 $form
 

Detailed Description

User interface element for managing related model relations for projects. This class supports a MANY_MANY specifically for the 'accounts' relation. This is utilized by the Project model.

Definition at line 42 of file MultipleAccountsForProjectsElement.php.

Member Function Documentation

renderControlNonEditable ( )
protected

Returns rendered content for display as nonEditable.

Returns
null|string

Definition at line 96 of file MultipleAccountsForProjectsElement.php.

getExistingIdsAndLabelsForDetailsView ( )
protected

Returns an array with the Ids and Labels of records already bound to the model attached to element

Returns
array

Definition at line 115 of file MultipleAccountsForProjectsElement.php.

resolveIdAndNameByModelForDetailsView ( RedBeanModel  $model)
protected

Resolve an array with id and name using the sent model

Parameters
$model
Returns
array

Definition at line 140 of file MultipleAccountsForProjectsElement.php.

resolveModelNameForRenderingForDetailsView ( RedBeanModel  $model)
protected

Resolves model's name for rendering.

Parameters
RedBeanModel$model
Returns
string

Definition at line 153 of file MultipleAccountsForProjectsElement.php.


The documentation for this class was generated from the following file:
Generated on Thu May 28 2020 07:10:54