Static Public Member Functions | |
static | getDisplayName () |
Protected Member Functions | |
getFormName () | |
getUnqualifiedNameForIdField () | |
getUnqualifiedIdForIdField () | |
assertModelType () | |
getFormattedAttributeLabel () | |
getWidgetSourceUrl () | |
getWidgetHintText () | |
getRelatedRecords () | |
getRelationName () | |
getEditableInputId ($attributeName=null, $relationAttributeName=null) | |
getEditableInputName ($attributeName=null, $relationAttributeName=null) |
User interface element for selecting multiple groups and users using type ahead element
Definition at line 41 of file MultipleGroupsAndUsersElement.php.
getFormName | ( | ) | [protected] |
Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.
Definition at line 43 of file MultipleGroupsAndUsersElement.php.
getUnqualifiedNameForIdField | ( | ) | [protected] |
Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.
Definition at line 48 of file MultipleGroupsAndUsersElement.php.
getUnqualifiedIdForIdField | ( | ) | [protected] |
Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.
Definition at line 53 of file MultipleGroupsAndUsersElement.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 MultipleGroupsAndUsersElement.php.
getFormattedAttributeLabel | ( | ) | [protected] |
Returns formatted display name
Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.
Definition at line 63 of file MultipleGroupsAndUsersElement.php.
getWidgetSourceUrl | ( | ) | [protected] |
Returns the source url widget should hit to request data for autocomplete
Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.
Definition at line 73 of file MultipleGroupsAndUsersElement.php.
getWidgetHintText | ( | ) | [protected] |
Returns the hint text display in widget
Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.
Definition at line 78 of file MultipleGroupsAndUsersElement.php.
getRelatedRecords | ( | ) | [protected] |
Computes Related records for current model using relationName, returns an array
Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.
Definition at line 84 of file MultipleGroupsAndUsersElement.php.
getRelationName | ( | ) | [protected] |
Returns the relation name we would query when generated existing Ids and Labels
Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.
Definition at line 89 of file MultipleGroupsAndUsersElement.php.
getEditableInputId | ( | $ | attributeName = null , |
|
$ | relationAttributeName = null | |||
) | [protected] |
An input Id is typically formed like: modelClassName_attributeName or modelClassName_attributeName_relationAttributeName. This method resolves the input Id string.
string | $attributeName | |
string | $relationAttributeName |
Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.
Definition at line 94 of file MultipleGroupsAndUsersElement.php.
getEditableInputName | ( | $ | attributeName = null , |
|
$ | relationAttributeName = null | |||
) | [protected] |
An input name is typically formed like: modelClassName[attributeName] or modelClassName[attributeName][relationAttributeName]. This method resolves the input name string. Also handles scenarios where attributeName has something like abc[def]. This method will properly account for that.
string | $attributeName | |
string | $relationAttributeName |
Reimplemented from MultiSelectRelatedModelsAutoCompleteElement.
Definition at line 100 of file MultipleGroupsAndUsersElement.php.