Pretty formatter for MessageCollection objects. More...
Public Member Functions | |
setContext (IContextSource $context) | |
__construct (MessageCollection $collection, MessageGroup $group) | |
Use the newFromContext() function rather than the constructor directly to construct the object to allow alternative implementations. | |
setEditLinkParams (array $array) | |
appendEditLinkParams ($key, $value) | |
setReviewMode ($mode=true) | |
setHeaderTextMessage ($type, $value) | |
setHeaderText ($type, $value) | |
includeAssets () | |
header () | |
fullTable ($offsets, $nondefaults) | |
Static Public Member Functions | |
static | newFromContext (IContextSource $context, MessageCollection $collection, MessageGroup $group) |
Use this rather than the constructor directly to allow alternative implementations. | |
Protected Member Functions | |
headerText ($type) | |
getReviewButton (TMessage $message) | |
getReviewStatus (TMessage $message) | |
doLinkBatch () | |
doStupidLinks ($info, $nondefaults) | |
makeOffsetLink ($label, $offset, $nondefaults) | |
Static Protected Member Functions | |
static | getLanguageAttributes (Language $language) |
Protected Attributes | |
$reviewMode = false | |
$collection | |
$group | |
$editLinkParams = array() | |
$context | |
$headers | |
$reviewStatusCache = array() | |
For optimization. |
Pretty formatter for MessageCollection objects.
Definition at line 14 of file MessageTable.php.
MessageTable::__construct | ( | MessageCollection $ | collection, | |
MessageGroup $ | group | |||
) |
Use the newFromContext() function rather than the constructor directly to construct the object to allow alternative implementations.
Definition at line 75 of file MessageTable.php.
MessageTable::appendEditLinkParams | ( | $ | key, | |
$ | value | |||
) |
Definition at line 86 of file MessageTable.php.
Referenced by __construct().
MessageTable::doLinkBatch | ( | ) | [protected] |
Definition at line 365 of file MessageTable.php.
MessageTable::doStupidLinks | ( | $ | info, | |
$ | nondefaults | |||
) | [protected] |
Definition at line 376 of file MessageTable.php.
Referenced by fullTable().
MessageTable::fullTable | ( | $ | offsets, | |
$ | nondefaults | |||
) |
static MessageTable::getLanguageAttributes | ( | Language $ | language | ) | [static, protected] |
Definition at line 277 of file MessageTable.php.
MessageTable::getReviewButton | ( | TMessage $ | message | ) | [protected] |
MessageTable::getReviewStatus | ( | TMessage $ | message | ) | [protected] |
MessageTable::header | ( | ) |
Definition at line 122 of file MessageTable.php.
Referenced by fullTable().
MessageTable::headerText | ( | $ | type | ) | [protected] |
Definition at line 262 of file MessageTable.php.
Referenced by header().
MessageTable::includeAssets | ( | ) |
Definition at line 110 of file MessageTable.php.
Referenced by fullTable().
MessageTable::makeOffsetLink | ( | $ | label, | |
$ | offset, | |||
$ | nondefaults | |||
) | [protected] |
Definition at line 417 of file MessageTable.php.
Referenced by doStupidLinks().
static MessageTable::newFromContext | ( | IContextSource $ | context, | |
MessageCollection $ | collection, | |||
MessageGroup $ | group | |||
) | [static] |
Use this rather than the constructor directly to allow alternative implementations.
Definition at line 54 of file MessageTable.php.
Referenced by ReviewMessagesTask::output(), and ViewMessagesTask::output().
MessageTable::setContext | ( | IContextSource $ | context | ) |
Definition at line 67 of file MessageTable.php.
MessageTable::setEditLinkParams | ( | array $ | array | ) |
Definition at line 82 of file MessageTable.php.
MessageTable::setHeaderText | ( | $ | type, | |
$ | value | |||
) |
Definition at line 102 of file MessageTable.php.
Referenced by __construct().
MessageTable::setHeaderTextMessage | ( | $ | type, | |
$ | value | |||
) |
Definition at line 94 of file MessageTable.php.
MessageTable::setReviewMode | ( | $ | mode = true |
) |
Definition at line 90 of file MessageTable.php.
MessageTable::$collection [protected] |
Definition at line 23 of file MessageTable.php.
MessageTable::$context [protected] |
Definition at line 37 of file MessageTable.php.
MessageTable::$editLinkParams = array() [protected] |
Definition at line 33 of file MessageTable.php.
MessageTable::$group [protected] |
Definition at line 28 of file MessageTable.php.
MessageTable::$headers [protected] |
array( 'table' => array( 'msg', 'allmessagesname' ), 'current' => array( 'msg', 'allmessagescurrent' ), 'default' => array( 'msg', 'allmessagesdefault' ), )
Definition at line 42 of file MessageTable.php.
MessageTable::$reviewMode = false [protected] |
Definition at line 18 of file MessageTable.php.
MessageTable::$reviewStatusCache = array() [protected] |
For optimization.
Definition at line 330 of file MessageTable.php.