UserGroupMembershipView Class Reference

Inheritance diagram for UserGroupMembershipView:
MetadataView View

Public Member Functions

 __construct ($controllerId, $moduleId, array $groupMembership, $userId, $title=null)
 isUniqueToAPage ()

Protected Member Functions

 renderContent ()

Protected Attributes

 $controllerId
 $moduleId
 $groupMembership
 $userId

Detailed Description

Base view for rendering a list of groups the user is a member of.

Definition at line 41 of file UserGroupMembershipView.php.


Constructor & Destructor Documentation

__construct ( controllerId,
moduleId,
array $  groupMembership,
userId,
title = null 
)
Parameters:
string $controllerId
string $moduleId
array $groupMembership
int $userId
null|string $title

Definition at line 58 of file UserGroupMembershipView.php.


Member Function Documentation

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 71 of file UserGroupMembershipView.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 95 of file UserGroupMembershipView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Jul 25 07:10:31 2017