All Data Structures Functions Variables Pages
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
ProductCategoriesModalTreeListView Class Reference
Inheritance diagram for ProductCategoriesModalTreeListView:
ProductCategoriesTreeListView SecurityTreeListView MetadataView View SelectParentCategoryModalTreeListView

Public Member Functions

 __construct ($controllerId, $moduleId, $modelId, $items, $sourceIdFieldId, $sourceNameFieldId, $modalId=null)
 
- 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

 renderContent ()
 
 makeTreeMenuNodeLink ($label, $action, $roleId)
 
- Protected Member Functions inherited from ProductCategoriesTreeListView
 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)
 

Static Protected Member Functions

static shouldRenderConfigureLink ()
 
static resolveShouldShowLinkableUserCount ()
 
- Static Protected Member Functions inherited from ProductCategoriesTreeListView
static renderTreeListViewNode (&$content, $data, $indent)
 
static shouldRenderConfigureLink ()
 
- 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

 $sourceIdFieldId
 
 $sourceNameFieldId
 
 $modalId
 
- Protected Attributes inherited from SecurityTreeListView
 $controllerId
 
 $moduleId
 
 $items
 
- Protected Attributes inherited from View
 $cssClasses = array()
 
 $title
 
 $makeDefaultClassesFromClassHeirarchy = true
 

Additional Inherited Members

- Static Public Member Functions inherited from SecurityTreeListView
static getDefaultMetadata ()
 

Detailed Description

View that renders a list in the form of a tree widget.

Definition at line 40 of file ProductCategoriesModalTreeListView.php.

Constructor & Destructor Documentation

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

sourceIdFieldName and sourceNameFieldId are needed to know which fields in the parent form to populate data with upon selecting a row in the listview

Definition at line 64 of file ProductCategoriesModalTreeListView.php.

Member Function Documentation

renderContent ( )
protected

Override because we do not need to render the view tool bar or any extra spacing.

Definition at line 84 of file ProductCategoriesModalTreeListView.php.

Field Documentation

$sourceIdFieldId
protected

Id of input field in display for saving back a selected record from the modal list view.

See Also
$sourceIdFieldId

Definition at line 47 of file ProductCategoriesModalTreeListView.php.

$sourceNameFieldId
protected

Name of input field in display for saving back a selected record from the modal list view.

See Also
$sourceNameFieldId

Definition at line 54 of file ProductCategoriesModalTreeListView.php.


The documentation for this class was generated from the following file:
Generated on Fri May 29 2020 07:10:55