SpecialTranslationStash Class Reference
[Special pages of Translate extension]

Special page for new users to translate example messages. More...

List of all members.

Public Member Functions

 __construct ()
 execute ($params)

Protected Member Functions

 hasPermissionToUse ()
 Checks that the user is in the sandbox.
 showPage ()
 Generates the whole page html and appends it to output.
 getMessageTable ()
 tuxLanguageSelector ()
 getSourceLanguage ()
 Returns the source language for messages.
 getTargetLanguage ()
 Returns the default target language for messages.

Protected Attributes

 $stash
 <

Detailed Description

Special page for new users to translate example messages.

Definition at line 15 of file SpecialTranslationStash.php.


Constructor & Destructor Documentation

SpecialTranslationStash::__construct (  ) 

Definition at line 19 of file SpecialTranslationStash.php.


Member Function Documentation

SpecialTranslationStash::execute ( params  ) 

Definition at line 23 of file SpecialTranslationStash.php.

Here is the call graph for this function:

SpecialTranslationStash::getMessageTable (  )  [protected]

Definition at line 114 of file SpecialTranslationStash.php.

Referenced by showPage().

Here is the call graph for this function:

SpecialTranslationStash::getSourceLanguage (  )  [protected]

Returns the source language for messages.

Returns:
Language

Definition at line 160 of file SpecialTranslationStash.php.

Referenced by getMessageTable(), and getTargetLanguage().

SpecialTranslationStash::getTargetLanguage (  )  [protected]

Returns the default target language for messages.

Returns:
Language

Definition at line 169 of file SpecialTranslationStash.php.

Referenced by getMessageTable(), and tuxLanguageSelector().

Here is the call graph for this function:

SpecialTranslationStash::hasPermissionToUse (  )  [protected]

Checks that the user is in the sandbox.

Also handles special overrides mainly used for integration testing.

Returns:
bool

Definition at line 48 of file SpecialTranslationStash.php.

Referenced by execute().

Here is the call graph for this function:

SpecialTranslationStash::showPage (  )  [protected]

Generates the whole page html and appends it to output.

Definition at line 77 of file SpecialTranslationStash.php.

Referenced by execute().

Here is the call graph for this function:

SpecialTranslationStash::tuxLanguageSelector (  )  [protected]

Definition at line 129 of file SpecialTranslationStash.php.

Referenced by showPage().

Here is the call graph for this function:


Member Data Documentation

SpecialTranslationStash::$stash [protected]

<

Parameters:
TranslationStashStorage 

Definition at line 17 of file SpecialTranslationStash.php.


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