SelectParentCategoryModalTreeListView Class Reference

Inheritance diagram for SelectParentCategoryModalTreeListView:
ProductCategoriesModalTreeListView ProductCategoriesTreeListView SecurityTreeListView MetadataView View

Public Member Functions

 __construct ($controllerId, $moduleId, $modelId, $roles, $sourceIdFieldId, $sourceNameFieldId, $modalId=null)

Protected Member Functions

 resolveIsNodeLinkableById ($id, $name)

Detailed Description

View that renders a modal tree view of the categories that is used for selecting a parent role. Does not allow picking of a category that has the same modelId or is downstream from that modelId in the category hierarchy.

Definition at line 44 of file SelectParentCategoryModalTreeListView.php.

Constructor & Destructor Documentation

__construct ( controllerId,
modalId = null 

Override to ensure that the modelId is not null

Reimplemented from ProductCategoriesModalTreeListView.

Definition at line 49 of file SelectParentCategoryModalTreeListView.php.

Member Function Documentation

resolveIsNodeLinkableById ( id,
) [protected]

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

Reimplemented from SecurityTreeListView.

Definition at line 71 of file SelectParentCategoryModalTreeListView.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Dec 10 07:11:16 2019