MediaWiki  1.28.0
FakeConverter Class Reference

A fake language converter. More...

Collaboration diagram for FakeConverter:

Public Member Functions

 __construct ($langobj)
 
 autoConvert ($text, $variant=false)
 
 autoConvertToAllVariants ($text)
 
 convert ($t)
 
 convertCategoryKey ($key)
 
 convertNamespace ($ns)
 
 convertTitle ($t)
 
 convertTo ($text, $variant)
 
 findVariantLink (&$l, &$n, $ignoreOtherCond=false)
 
 getConvRuleTitle ()
 
 getDefaultVariant ()
 
 getExtraHashOptions ()
 
 getParsedTitle ()
 
 getPreferredVariant ()
 
 getURLVariant ()
 
 getVariantFallbacks ($variant)
 
 getVariants ()
 
 markNoConversion ($text, $noParse=false)
 
 translate ($text, $variant)
 
 updateConversionTable (Title $title)
 
 validateVariant ($variant=null)
 

Public Attributes

Language $mLang
 

Detailed Description

A fake language converter.

Definition at line 29 of file FakeConverter.php.

Constructor & Destructor Documentation

FakeConverter::__construct (   $langobj)

Definition at line 35 of file FakeConverter.php.

Member Function Documentation

FakeConverter::autoConvert (   $text,
  $variant = false 
)

Definition at line 39 of file FakeConverter.php.

FakeConverter::autoConvertToAllVariants (   $text)

Definition at line 43 of file FakeConverter.php.

FakeConverter::convert (   $t)

Definition at line 47 of file FakeConverter.php.

References $t.

FakeConverter::convertCategoryKey (   $key)

Definition at line 106 of file FakeConverter.php.

FakeConverter::convertNamespace (   $ns)

Definition at line 63 of file FakeConverter.php.

FakeConverter::convertTitle (   $t)
Parameters
Title$t
Returns
mixed

Definition at line 59 of file FakeConverter.php.

References $t.

FakeConverter::convertTo (   $text,
  $variant 
)

Definition at line 51 of file FakeConverter.php.

FakeConverter::findVariantLink ( $l,
$n,
  $ignoreOtherCond = false 
)

Definition at line 91 of file FakeConverter.php.

FakeConverter::getConvRuleTitle ( )

Definition at line 87 of file FakeConverter.php.

FakeConverter::getDefaultVariant ( )

Definition at line 79 of file FakeConverter.php.

FakeConverter::getExtraHashOptions ( )

Definition at line 94 of file FakeConverter.php.

FakeConverter::getParsedTitle ( )

Definition at line 98 of file FakeConverter.php.

FakeConverter::getPreferredVariant ( )

Definition at line 75 of file FakeConverter.php.

FakeConverter::getURLVariant ( )

Definition at line 83 of file FakeConverter.php.

FakeConverter::getVariantFallbacks (   $variant)

Definition at line 71 of file FakeConverter.php.

FakeConverter::getVariants ( )

Definition at line 67 of file FakeConverter.php.

FakeConverter::markNoConversion (   $text,
  $noParse = false 
)

Definition at line 102 of file FakeConverter.php.

FakeConverter::translate (   $text,
  $variant 
)

Definition at line 114 of file FakeConverter.php.

FakeConverter::updateConversionTable ( Title  $title)

Definition at line 118 of file FakeConverter.php.

FakeConverter::validateVariant (   $variant = null)

Definition at line 110 of file FakeConverter.php.

Member Data Documentation

Language FakeConverter::$mLang

Definition at line 33 of file FakeConverter.php.


The documentation for this class was generated from the following file: