Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

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 Tue Mar 26 07:10:59 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8