ActionBarForGroupEditAndDetailsView Class Reference

Inheritance diagram for ActionBarForGroupEditAndDetailsView:
ConfigurableMetadataView MetadataView View

Public Member Functions

 __construct ($controllerId, $moduleId, Group $model, $activeActionElementType)
 isUniqueToAPage ()

Static Public Member Functions

static getDefaultMetadata ()

Protected Member Functions

 renderContent ()
 resolveActionElementInformationDuringRender (&$elementInformation)
 shouldRenderToolBarElement ($element, $elementInformation)

Protected Attributes

 $controllerId
 $moduleId
 $model
 $activeActionElementType

Detailed Description

Renders an action bar specifically for the search and listview.

Definition at line 40 of file ActionBarForGroupEditAndDetailsView.php.


Constructor & Destructor Documentation

__construct ( controllerId,
moduleId,
Group model,
activeActionElementType 
)
Parameters:
string $controllerId
string $moduleId
Group $model
string $activeActionElementType

Definition at line 56 of file ActionBarForGroupEditAndDetailsView.php.


Member Function Documentation

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 68 of file ActionBarForGroupEditAndDetailsView.php.

isUniqueToAPage (  ) 

Tells View that it can render the extending class' divs with and id matching their name. Must be overridden to return false in extending classes that can be rendered multiple times within a page to avoid generating a page with non-unique ids which will fail XHtml validation. For those it will render a class attribute with their name.

Reimplemented from View.

Definition at line 76 of file ActionBarForGroupEditAndDetailsView.php.

static getDefaultMetadata (  )  [static]

Returns default metadata for use in automatically generating the view.

Reimplemented from MetadataView.

Definition at line 81 of file ActionBarForGroupEditAndDetailsView.php.

resolveActionElementInformationDuringRender ( &$  elementInformation  )  [protected]

Override if any manipulation is needed on the $elementInformaiton prior to rendering

Parameters:
array $elementInformation

Reimplemented from MetadataView.

Definition at line 123 of file ActionBarForGroupEditAndDetailsView.php.

shouldRenderToolBarElement ( element,
elementInformation 
) [protected]

Override to check for different scenarios depending on if the group is special or not. Everyone and SuperAdministrators are special groups for example. Checks for $elementInformation['resolveToDisplay'] to be present and if it is, will run the resolveName as a function on the group model.

Returns:
boolean

Reimplemented from MetadataView.

Definition at line 140 of file ActionBarForGroupEditAndDetailsView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue May 23 07:10:21 2017