Helper for choosing what happens by default to spam threads.

package XenForo_Options

 Methods

Renders the guest time zone option.

renderOption(\XenForo_View $view, string $fieldPrefix, array $preparedOption, boolean $canEdit) : \XenForo_Template_Abstract

Parameters

$view

\XenForo_View

View object

$fieldPrefix

string

Prefix for the HTML form field name

$preparedOption

array

Prepared option info

$canEdit

boolean

True if an "edit" link should appear

Returns

Verifies and prepares the censor option to the correct format.

verifyOption(array $options, \XenForo_DataWriter $dw, string $fieldName) : true

Parameters

$options

$dw

\XenForo_DataWriter

Calling DW

$fieldName

string

Name of field/option

Returns

true

_getNodeModel()

_getNodeModel() : \XenForo_Model_Node