MultipleContactsForProjectsElement Class Reference

Inheritance diagram for MultipleContactsForProjectsElement:
MultiSelectRelatedModelsAutoCompleteElement Element DerivedElementInterface

Static Public Member Functions

static getDisplayName ()

Protected Member Functions

 getFormName ()
 getUnqualifiedNameForIdField ()
 getUnqualifiedIdForIdField ()
 assertModelType ()
 getWidgetSourceUrl ()
 getWidgetHintText ()
 getRelationName ()
 getFormattedAttributeLabel ()
 resolveModelNameForRendering (RedBeanModel $model)

Detailed Description

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

Definition at line 42 of file MultipleContactsForProjectsElement.php.


Member Function Documentation

getFormName (  )  [protected]
Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 44 of file MultipleContactsForProjectsElement.php.

getUnqualifiedNameForIdField (  )  [protected]
Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 49 of file MultipleContactsForProjectsElement.php.

getUnqualifiedIdForIdField (  )  [protected]
Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 54 of file MultipleContactsForProjectsElement.php.

assertModelType (  )  [protected]

Asserts that element is attached to a form with a model type that we are indeed expecting

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 59 of file MultipleContactsForProjectsElement.php.

getWidgetSourceUrl (  )  [protected]

Returns the source url widget should hit to request data for autocomplete

Returns:
mixed

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 64 of file MultipleContactsForProjectsElement.php.

getWidgetHintText (  )  [protected]

Returns the hint text display in widget

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 69 of file MultipleContactsForProjectsElement.php.

getRelationName (  )  [protected]

Returns the relation name we would query when generated existing Ids and Labels

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 76 of file MultipleContactsForProjectsElement.php.

getFormattedAttributeLabel (  )  [protected]

Returns formatted display name

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 81 of file MultipleContactsForProjectsElement.php.

resolveModelNameForRendering ( RedBeanModel model  )  [protected]

Resolves model's name for rendering.

Parameters:
RedBeanModel $model
Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 92 of file MultipleContactsForProjectsElement.php.


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