All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions
SelectParentGroupModalTreeListView Class Reference
Inheritance diagram for SelectParentGroupModalTreeListView:
GroupsModalTreeListView GroupsTreeListView SecurityTreeListView MetadataView View

Public Member Functions

 __construct ($controllerId, $moduleId, $modelId, $groups, $sourceIdFieldId, $sourceNameFieldId, $modalId)
 
- Public Member Functions inherited from GroupsModalTreeListView
 __construct ($controllerId, $moduleId, $modelId, $items, $sourceIdFieldId, $sourceNameFieldId, $modalId)
 
- Public Member Functions inherited from SecurityTreeListView
 __construct ($controllerId, $moduleId, $items)
 
- Public Member Functions inherited from View
 isUniqueToAPage ()
 
 render ()
 
 setCssClasses (array $classes)
 
 getCssClasses ()
 
 getTitle ()
 
 getPostTruncatedTitleContent ()
 

Protected Member Functions

 resolveIsNodeLinkableById ($id, $name)
 
- Protected Member Functions inherited from GroupsModalTreeListView
 renderContent ()
 
 makeTreeMenuNodeLink ($label, $action, $groupId)
 
- Protected Member Functions inherited from GroupsTreeListView
 renderContent ()
 
 renderTreeListView ($data)
 
 resolveUserCountForItem (Item $item)
 
- Protected Member Functions inherited from SecurityTreeListView
 renderTreeMenu ($nodeRelationName, $nodesRelationName, $title)
 
 getModelRelationNameForUserCount ()
 
 renderTreeListView ($data)
 
 makeChildrenNodes ($items, $parentItem, $nodeRelationName, $isLink=true)
 
 resolveNodeWithChildrenItems (array $itemNodes, $parentItem)
 
 makeTreeMenuNodeLink ($label, $action, $id)
 
 makeTreeMenuNodeRoute ($action, $id)
 
 resolveIsNodeLinkableById ($id, $name)
 
 resolveUserCountForItem (Item $item)
 
 registerScripts ()
 
- Protected Member Functions inherited from View
 resolveDefaultClasses ()
 
 renderContainerWrapperId ()
 
 getContainerWrapperTag ()
 
 getId ()
 
 renderContent ()
 
 getViewStyle ()
 
 renderTitleContent ()
 
 resolveCustomViewTemplateFileName ($theme, $view)
 

Additional Inherited Members

- Static Public Member Functions inherited from SecurityTreeListView
static getDefaultMetadata ()
 
- Static Protected Member Functions inherited from GroupsModalTreeListView
static shouldRenderConfigureLink ()
 
static resolveShouldShowLinkableUserCount ()
 
- Static Protected Member Functions inherited from GroupsTreeListView
static resolveShouldShowLinkableUserCount ()
 
static resolveRouteAction ()
 
- Static Protected Member Functions inherited from SecurityTreeListView
static renderTreeListViewNode (&$content, $data, $indent)
 
static shouldRenderConfigureLink ()
 
static resolveIdFromRoute ($route)
 
static renderUserCount ($userCount, $route)
 
static resolveShouldShowLinkableUserCount ()
 
static resolveRouteAction ()
 
- Protected Attributes inherited from GroupsModalTreeListView
 $sourceIdFieldId
 
 $sourceNameFieldId
 
 $modalId
 
- Protected Attributes inherited from SecurityTreeListView
 $controllerId
 
 $moduleId
 
 $items
 
- Protected Attributes inherited from View
 $cssClasses = array()
 
 $title
 
 $makeDefaultClassesFromClassHeirarchy = true
 

Detailed Description

View that renders a modal tree view of the groups that is used for selecting a parent group. Does not allow picking of a group that has the same modelId or is downstream from that modelId in the group heirarchy.

Definition at line 44 of file SelectParentGroupModalTreeListView.php.

Constructor & Destructor Documentation

__construct (   $controllerId,
  $moduleId,
  $modelId,
  $groups,
  $sourceIdFieldId,
  $sourceNameFieldId,
  $modalId 
)

Override to ensure that the modelId is not null

Definition at line 49 of file SelectParentGroupModalTreeListView.php.

Member Function Documentation

resolveIsNodeLinkableById (   $id,
  $name 
)
protected

Only display node as linkable if the groupId does not match the $this->modelId

Definition at line 71 of file SelectParentGroupModalTreeListView.php.


The documentation for this class was generated from the following file:
Generated on Mon Jun 1 2020 07:11:01