MessageTable Class Reference

Pretty formatter for MessageCollection objects. More...

List of all members.

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.

Detailed Description

Pretty formatter for MessageCollection objects.

Definition at line 14 of file MessageTable.php.


Constructor & Destructor Documentation

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.

Here is the call graph for this function:


Member Function Documentation

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().

Here is the call graph for this function:

MessageTable::fullTable ( offsets,
nondefaults 
)

Definition at line 247 of file MessageTable.php.

Here is the call graph for this function:

static MessageTable::getLanguageAttributes ( Language $  language  )  [static, protected]

Definition at line 277 of file MessageTable.php.

MessageTable::getReviewButton ( TMessage message  )  [protected]

Definition at line 291 of file MessageTable.php.

Here is the call graph for this function:

MessageTable::getReviewStatus ( TMessage message  )  [protected]

Definition at line 332 of file MessageTable.php.

Here is the call graph for this function:

MessageTable::header (  ) 

Definition at line 122 of file MessageTable.php.

Referenced by fullTable().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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.

Since:
2012-11-29

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.


Member Data Documentation

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]
Initial value:
 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.


The documentation for this class was generated from the following file:
Generated on Tue Oct 29 00:00:50 2013 for MediaWiki Translate Extension by  doxygen 1.6.3