UserElement Class Reference

Inheritance diagram for UserElement:
ModelElement Element ElementActionTypeInterface TaskModalUserElement

Protected Member Functions

 renderControlEditable ()

Static Protected Attributes

static $moduleId = 'users'
static $editableActionType = 'UsersModalList'

Detailed Description

Display the user selection. This is a combination of a type-ahead input text field and a selection button which renders a modal list view to search on user. Also includes a hidden input for the user id.

Definition at line 44 of file UserElement.php.


Member Function Documentation

renderControlEditable (  )  [protected]

Render a hidden input, a text input with an auto-complete event, and a select button. These three items together form the User Editable Element

Returns:
The element's content as a string.

Reimplemented from ModelElement.

Definition at line 61 of file UserElement.php.


Field Documentation

$moduleId = 'users' [static, protected]

Override in child element with a specific moduleId

Reimplemented from ModelElement.

Definition at line 46 of file UserElement.php.

$editableActionType = 'UsersModalList' [static, protected]

Override because users is a special module. While a user might not have access to the users tab, they would always be able to pick a user for the 'owner' field.

Reimplemented from ModelElement.

Definition at line 53 of file UserElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Aug 17 07:10:31 2017