Helper for choosing a node.
package | XenForo_Options |
---|
getNodeOptions(integer $selectedForum, mixed $includeRoot, mixed $filter) : array
integer
mixed
Include root forum (specify a phrase to represent the root forum)
mixed
Filter the options to allow only the specified type to be selectable
array
renderRadio(\XenForo_View $view, string $fieldPrefix, array $preparedOption, boolean $canEdit) : \XenForo_Template_Abstract
string
Prefix for the HTML form field name
array
Prepared option info
boolean
True if an "edit" link should appear
\XenForo_Template_Abstract
Template objectrenderSelect(\XenForo_View $view, string $fieldPrefix, array $preparedOption, boolean $canEdit) : \XenForo_Template_Abstract
string
Prefix for the HTML form field name
array
Prepared option info
boolean
True if an "edit" link should appear
\XenForo_Template_Abstract
Template object_render(string $templateName, \XenForo_View $view, string $fieldPrefix, array $preparedOption, boolean $canEdit) : \XenForo_Template_Abstract
string
Name of template to render
string
Prefix for the HTML form field name
array
Prepared option info
boolean
True if an "edit" link should appear
\XenForo_Template_Abstract
Template object