All Data Structures Functions Variables Pages
Static Public Member Functions | Protected Member Functions
MultipleOpportunitiesForProjectsElement Class Reference
Inheritance diagram for MultipleOpportunitiesForProjectsElement:
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 ()
 
 getWidgetSourceUrl ()
 
 getWidgetHintText ()
 
 getRelationName ()
 
 getFormattedAttributeLabel ()
 
 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 'opportunities' relation. This is utilized by the Project model.

Definition at line 42 of file MultipleOpportunitiesForProjectsElement.php.

Member Function Documentation

getFormName ( )
protected
Returns
string

Definition at line 47 of file MultipleOpportunitiesForProjectsElement.php.

getUnqualifiedNameForIdField ( )
protected
Returns
string

Definition at line 55 of file MultipleOpportunitiesForProjectsElement.php.

getUnqualifiedIdForIdField ( )
protected
Returns
string

Definition at line 63 of file MultipleOpportunitiesForProjectsElement.php.

assertModelType ( )
protected
Returns
string

Definition at line 71 of file MultipleOpportunitiesForProjectsElement.php.

getWidgetSourceUrl ( )
protected
Returns
string

Definition at line 79 of file MultipleOpportunitiesForProjectsElement.php.

getWidgetHintText ( )
protected
Returns
string

Definition at line 87 of file MultipleOpportunitiesForProjectsElement.php.

getRelationName ( )
protected
Returns
string

Definition at line 97 of file MultipleOpportunitiesForProjectsElement.php.

getFormattedAttributeLabel ( )
protected
Returns
string

Definition at line 105 of file MultipleOpportunitiesForProjectsElement.php.

static getDisplayName ( )
static
Returns
string

Definition at line 113 of file MultipleOpportunitiesForProjectsElement.php.

renderControlNonEditable ( )
protected

Returns rendered content for display as nonEditable.

Returns
null|string

Definition at line 123 of file MultipleOpportunitiesForProjectsElement.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 142 of file MultipleOpportunitiesForProjectsElement.php.

resolveIdAndNameByModelForDetailsView ( RedBeanModel  $model)
protected

Resolve an array with id and name using the sent model

Parameters
$model
Returns
array

Definition at line 167 of file MultipleOpportunitiesForProjectsElement.php.

resolveModelNameForRenderingForDetailsView ( RedBeanModel  $model)
protected

Resolves model's name for rendering.

Parameters
RedBeanModel$model
Returns
string

Definition at line 180 of file MultipleOpportunitiesForProjectsElement.php.


The documentation for this class was generated from the following file:
Generated on Fri May 29 2020 07:10:53