getExtraDataForNodes()
getNodeItemCounts()
getPushableDataForNode()
isNodeViewable()
prepareNode()
renderNodeForTree()
_compileForumLikePushableData()
_getForumLikePushableData()
_getLinkForumModel()
$_linkForumModel
Node handler for link forum-type nodes.
package | XenForo_Page |
---|
getExtraDataForNodes(array $nodeIds) : array
inherited_from | \XenForo_NodeHandler_Abstract::getExtraDataForNodes() |
---|
array
array
Format: [node id] => infogetNodeItemCounts(array $node) : array
inherited_from | \XenForo_NodeHandler_Abstract::getNodeItemCounts() |
---|
array
array
Keys: discussions, messagesgetPushableDataForNode(array $node, array $childPushable, array $permissions) : array
inherited_from | \XenForo_NodeHandler_Abstract::getPushableDataForNode() |
---|
array
Current node info
array
List of pushable data from all child nodes: [node id] => pushable data
array
Permissions for this node
array
List of pushable data (key-value pairs)isNodeViewable(array $node, array $nodePermissions) : boolean
array
array
boolean
prepareNode(array $node) : array
inherited_from | \XenForo_NodeHandler_Abstract::prepareNode() |
---|
array
Unprepared data
array
Prepared datarenderNodeForTree(\XenForo_View $view, array $node, array $permissions, array $renderedChildren, integer $level) : string | \XenForo_Template_Abstract
Note that if using a template, it is preferable to not explicitly render the template here, but to return the object instead.
array
Information about this node
array
Permissions for this node
array
List of rendered children, [node id] => rendered output
integer
The level this node should be rendered at, relative to how it's to be displayed.
_compileForumLikePushableData(array $newPushable, array $childPushable) : array
inherited_from | \XenForo_NodeHandler_Abstract::_compileForumLikePushableData() |
---|
array
array
array
_getForumLikePushableData(array $node, array $childPushable) : array
Most nodes, including categories and forums, will fall into this category, provided the key names match.
This function does not check any permissions.
inherited_from | \XenForo_NodeHandler_Abstract::_getForumLikePushableData() |
---|
array
Info about the current node
array
List of pushable data for child nodes ([node id] => info)
array
Key-value pairs of pushable data