MultiplePeopleForConversationElement Class Reference

Inheritance diagram for MultiplePeopleForConversationElement:
MultipleRelatedItemModelsAutoCompleteElement MultiSelectRelatedModelsAutoCompleteElement Element DerivedElementInterface OnChangeProcessMultiplePeopleForConversationElement

Static Public Member Functions

static getDisplayName ()

Protected Member Functions

 renderControlNonEditable ()
 getFormName ()
 assertModelType ()
 getWidgetSourceUrl ()
 getWidgetHintText ()
 getRelationName ()
 getDefaultExistingIdsAndLabel ()
 resolveIdAndNameByModel (RedBeanModel $model)

Protected Attributes

 $modelDerivationPathToItemFromContact = null
 $modelDerivationPathToItemFromUser = null

Detailed Description

User interface element for managing related model relations for conversation participants. This class supports a HAS_MANY specifically for the 'user' or 'contact' relation. This is utilized by the conversation model.

Definition at line 42 of file MultiplePeopleForConversationElement.php.


Member Function Documentation

renderControlNonEditable (  )  [protected]

Returns rendered content for display as nonEditable.

Returns:
null|string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 48 of file MultiplePeopleForConversationElement.php.

getFormName (  )  [protected]
Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 53 of file MultiplePeopleForConversationElement.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 58 of file MultiplePeopleForConversationElement.php.

getWidgetSourceUrl (  )  [protected]

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

Returns:
mixed

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 68 of file MultiplePeopleForConversationElement.php.

getWidgetHintText (  )  [protected]

Returns the hint text display in widget

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 73 of file MultiplePeopleForConversationElement.php.

getRelationName (  )  [protected]

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

Returns:
string

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 78 of file MultiplePeopleForConversationElement.php.

getDefaultExistingIdsAndLabel (  )  [protected]

Returns the default ids and labels that should already be there, probably readonly too.

Returns:
array

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 83 of file MultiplePeopleForConversationElement.php.

resolveIdAndNameByModel ( RedBeanModel model  )  [protected]

Resolve an array with id and name using the sent model

Parameters:
$model 
Returns:
array

Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.

Definition at line 90 of file MultiplePeopleForConversationElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Mar 25 07:10:28 2017