AccountSelectOrCreateElement Class Reference

Inheritance diagram for AccountSelectOrCreateElement:
AccountElement ModelElement Element ElementActionTypeInterface

Protected Member Functions

 renderExtraHtmlContent ()
 getIdForCreateLink ()
 resolveAjaxOptionsForModalView ($linkId)

Static Protected Attributes

static $moduleId = 'accounts'

Detailed Description

Display the account 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 account. Also includes a hidden input for the user id.

Definition at line 44 of file AccountSelectOrCreateElement.php.


Member Function Documentation

renderExtraHtmlContent (  )  [protected]

Renders extra html content

Returns:
string

Reimplemented from ModelElement.

Definition at line 52 of file AccountSelectOrCreateElement.php.

getIdForCreateLink (  )  [protected]

Get id for create link

Returns:
string

Definition at line 81 of file AccountSelectOrCreateElement.php.

resolveAjaxOptionsForModalView ( linkId  )  [protected]

Resolve ajax options for modal view

Parameters:
string $linkId
Returns:
string

Definition at line 91 of file AccountSelectOrCreateElement.php.


Field Documentation

$moduleId = 'accounts' [static, protected]

Override in child element with a specific moduleId

Reimplemented from AccountElement.

Definition at line 46 of file AccountSelectOrCreateElement.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Jul 22 07:10:21 2017