KuConverter Class Reference
[Language]

Kurdish converter routines. More...

Inherits LanguageConverter.

List of all members.

Public Member Functions

 loadDefaultTables ()
 Load default conversion tables.
 findVariantLink (&$link, &$nt, $ignoreOtherCond=false)
 If a language supports multiple variants, it is possible that non-existing link in one variant actually exists in another variant.
 markNoConversion ($text, $noParse=false)
 Enclose a string with the "no conversion" tag.
 autoConvert ($text, $toVariant=false)
 Dictionary-based conversion.
 translate ($text, $toVariant)
 It translates text into variant, specials:
  • ommiting roman numbers.


Public Attributes

 $mArabicToLatin
 $mLatinToArabic


Detailed Description

Kurdish converter routines.

Definition at line 10 of file LanguageKu.php.


Member Function Documentation

KuConverter::autoConvert ( text,
toVariant = false 
)

Dictionary-based conversion.

Parameters:
string $text the text to be converted
string $toVariant the target language code
Returns:
string the converted text
Access:
private

Reimplemented from LanguageConverter.

Definition at line 169 of file LanguageKu.php.

References $wgTitle.

KuConverter::findVariantLink ( &$  link,
&$  nt,
ignoreOtherCond = false 
)

If a language supports multiple variants, it is possible that non-existing link in one variant actually exists in another variant.

This function tries to find it. See e.g. LanguageZh.php

Parameters:
string $link the name of the link
mixed $nt the title object of the link
boolean $ignoreOtherCond: to disable other conditions when we need to transclude a template or update a category's link
Returns:
null the input parameters may be modified upon return
Access:
public

Reimplemented from LanguageConverter.

Definition at line 141 of file LanguageKu.php.

References LanguageConverter::getPreferredVariant().

KuConverter::loadDefaultTables (  ) 

Load default conversion tables.

This method must be implemented in derived class.

Access:
private

Reimplemented from LanguageConverter.

Definition at line 127 of file LanguageKu.php.

KuConverter::markNoConversion ( text,
noParse = false 
)

Enclose a string with the "no conversion" tag.

This is used by various functions in the Parser.

Parameters:
string $text text to be tagged for no conversion
Returns:
string the tagged text
Access:
public

Reimplemented from LanguageConverter.

Definition at line 159 of file LanguageKu.php.

KuConverter::translate ( text,
toVariant 
)

It translates text into variant, specials:

  • ommiting roman numbers.

Reimplemented from LanguageConverter.

Definition at line 182 of file LanguageKu.php.


Member Data Documentation

KuConverter::$mArabicToLatin

Definition at line 11 of file LanguageKu.php.

KuConverter::$mLatinToArabic

Definition at line 53 of file LanguageKu.php.


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

Generated on Sat Apr 30 22:57:40 2011 for MediaWiki by  doxygen 1.5.9