CoreMostUsedMessageGroup Class Reference
[Message group]

This class implements the "Most used messages" group for MediaWiki. More...

Inheritance diagram for CoreMostUsedMessageGroup:
Inheritance graph
[legend]
Collaboration diagram for CoreMostUsedMessageGroup:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 export (MessageCollection $messages)
 exportToFile (MessageCollection $messages, $authors)
 setListFile ($file)
 getDefinitions ()
 This function returns array of type key => definition of all messages this message group handles.

Protected Attributes

 $label = 'MediaWiki (most used)'
 Human-readable name of this group.
 $id = 'core-0-mostused'
 Group-wide unique id of this group.
 $meta = true
 Meta groups consist of multiple groups or parts of other groups.
 $list
 $description = '{{int:translate-group-desc-mediawikimostused}}'
 Holds descripton of this group.

Detailed Description

This class implements the "Most used messages" group for MediaWiki.

Todo:
Move to the new interface.

Definition at line 17 of file CoreMostUsedMessageGroup.php.


Member Function Documentation

CoreMostUsedMessageGroup::export ( MessageCollection messages  ) 

Definition at line 25 of file CoreMostUsedMessageGroup.php.

CoreMostUsedMessageGroup::exportToFile ( MessageCollection messages,
authors 
)

Definition at line 29 of file CoreMostUsedMessageGroup.php.

CoreMostUsedMessageGroup::getDefinitions (  ) 

This function returns array of type key => definition of all messages this message group handles.

Exceptions:
MWException 
Returns:
Array of messages definitions indexed by key.

Reimplemented from MessageGroupOld.

Definition at line 37 of file CoreMostUsedMessageGroup.php.

CoreMostUsedMessageGroup::setListFile ( file  ) 

Definition at line 33 of file CoreMostUsedMessageGroup.php.


Member Data Documentation

CoreMostUsedMessageGroup::$description = '{{int:translate-group-desc-mediawikimostused}}' [protected]

Holds descripton of this group.

Description is a wiki text snippet that gives information about this group to translators.

Reimplemented from CoreMessageGroup.

Definition at line 23 of file CoreMostUsedMessageGroup.php.

CoreMostUsedMessageGroup::$id = 'core-0-mostused' [protected]

Group-wide unique id of this group.

Used also for sorting.

Reimplemented from CoreMessageGroup.

Definition at line 19 of file CoreMostUsedMessageGroup.php.

CoreMostUsedMessageGroup::$label = 'MediaWiki (most used)' [protected]

Human-readable name of this group.

Reimplemented from CoreMessageGroup.

Definition at line 18 of file CoreMostUsedMessageGroup.php.

CoreMostUsedMessageGroup::$list [protected]

Definition at line 21 of file CoreMostUsedMessageGroup.php.

CoreMostUsedMessageGroup::$meta = true [protected]

Meta groups consist of multiple groups or parts of other groups.

This info is used on many places, like when creating message index.

Reimplemented from MessageGroupOld.

Definition at line 20 of file CoreMostUsedMessageGroup.php.


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