__construct()
getContainerDataWriter()
getContainerKeyName()
getContentType()
getDiscussionConfiguration()
getDiscussionForUpdate()
getDiscussionKeyName()
getDiscussionStructure()
getDiscussionTableName()
getFirstMessageDataWriter()
getSearchDataHandler()
_getDiscussionConfiguration()
_getDiscussionStructure()
$_structure
__construct()
getContainerDataWriter(integer $containerId, \constant $errorHandler) : \XenForo_DataWriter | false
This DW must implement XenForo_DataWriter_DiscussionContainerInterface. May be false.
integer
\constant
DW error handler constant (usually parent DW's error handler)
\XenForo_DataWriter
false
getContainerKeyName()
getContentType()
getDiscussionConfiguration() : array
This merges the defaults with the specific class overrides. See _getDiscussionConfiguration() for options.
array
getDiscussionForUpdate(\Zend_Db_Adapter_Abstract $db, integer $id) : array | false
\Zend_Db_Adapter_Abstract
integer
array
false
Discussion info or false to use what's in the DW alreadygetDiscussionKeyName()
getDiscussionStructure() : array
getDiscussionTableName()
getFirstMessageDataWriter(integer $firstMessageId, \constant $errorHandler) : \XenForo_DataWriter_DiscussionMessage
If no message is given, should return a "new" DW.
integer
\constant
DW error handler constant (usually parent DW's error handler)
getSearchDataHandler() : \XenForo_Search_DataHandler_Abstract | false
_getDiscussionConfiguration() : array
Options: * changeUserMessageCount (true)
array
_getDiscussionStructure() : array
This only includes parts that are variable. Keys returned: * table - name of the table (eg, xf_thread) * key - name of the discussion's key (eg, thread_id) * container - name of the container's key (eg, forum_id); leave blank (but define) if none! * contentType - name of the content type the discussion uses (eg, thread)
array
$_structure : array