__construct()
getContainerKeyName()
getContentType()
getDiscussionDataWriter()
getMessageConfiguration()
getMessageKeyName()
getMessageStructure()
getMessageTableName()
getSearchDataHandler()
_getMessageConfiguration()
_getMessageStructure()
$_structure
Post discussion message definition.
This will generally be used to interact with data writers (both for messages and discussions). It serves mostly to decouple data that will be useful to multiple data writers.
package | XenForo_Discussion |
---|
__construct()
inherited_from | \XenForo_DiscussionMessage_Definition_Abstract::__construct() |
---|
getContainerKeyName()
inherited_from | \XenForo_DiscussionMessage_Definition_Abstract::getContainerKeyName() |
---|
getContentType()
inherited_from | \XenForo_DiscussionMessage_Definition_Abstract::getContentType() |
---|
getDiscussionDataWriter(integer $discussionId, \constant $errorHandler) : \XenForo_DataWriter_Discussion | false
If no discussion is given, should return false.
integer
\constant
DW error handler constant (usually parent DW's error handler)
getMessageConfiguration() : array
This merges the defaults with the specific class overrides. See _getMessageConfiguration() for options.
inherited_from | \XenForo_DiscussionMessage_Definition_Abstract::getMessageConfiguration() |
---|
array
getMessageKeyName()
inherited_from | \XenForo_DiscussionMessage_Definition_Abstract::getMessageKeyName() |
---|
getMessageStructure() : array
See _getMessageStructure() for data returned.
inherited_from | \XenForo_DiscussionMessage_Definition_Abstract::getMessageStructure() |
---|
array
getMessageTableName()
inherited_from | \XenForo_DiscussionMessage_Definition_Abstract::getMessageTableName() |
---|
getSearchDataHandler() : \XenForo_Search_DataHandler_Abstract | false
_getMessageConfiguration() : array
Options: * hasParentDiscussion (false) * changeUserMessageCount (true)
array
_getMessageStructure() : array
This only includes parts that are variable. Keys returned: * table - name of the table (eg, xf_post) * key - name of the message's key (eg, post_id) * container - name of the container/discussion's key (eg, thread_id, profile_user_id) * contentType - name of the content type the message uses (eg, post, profile_post)
array
$_structure : array
inherited_from | \XenForo_DiscussionMessage_Definition_Abstract::$$_structure |
---|