MediaWiki  REL1_22
KuConverter Class Reference

Kurdish converter routines. More...

Inheritance diagram for KuConverter:
Collaboration diagram for KuConverter:

List of all members.

Public Member Functions

 autoConvert ($text, $toVariant=false)
 An ugly function wrapper for parsing Image titles (to prevent image name conversion)
 findVariantLink (&$link, &$nt, $ignoreOtherCond=false)
 A function wrapper:
 loadDefaultTables ()
 Load default conversion tables.
 translate ($text, $toVariant)
 It translates text into variant, specials:

Public Attributes

 $mArabicToLatin
 $mLatinToArabic

Detailed Description

Kurdish converter routines.

Definition at line 32 of file LanguageKu.php.


Member Function Documentation

KuConverter::autoConvert ( text,
toVariant = false 
)

An ugly function wrapper for parsing Image titles (to prevent image name conversion)

Parameters:
$textstring
$toVariantbool
Returns:
string

Reimplemented from LanguageConverter.

Definition at line 191 of file LanguageKu.php.

References $wgTitle, and global.

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

A function wrapper:

  • if there is no selected variant, leave the link names as they were
  • do not try to find variants for usernames
Parameters:
$linkstring
$ntTitle
$ignoreOtherCondbool

Reimplemented from LanguageConverter.

Definition at line 166 of file LanguageKu.php.

References $link, and LanguageConverter\getPreferredVariant().

Load default conversion tables.

This method must be implemented in derived class.

Access:
private
Exceptions:
MWException

Reimplemented from LanguageConverter.

Definition at line 148 of file LanguageKu.php.

References array().

KuConverter::translate ( text,
toVariant 
)

It translates text into variant, specials:

  • ommiting roman numbers
Parameters:
$textstring
$toVariantbool
Exceptions:
MWException
Returns:
string

Reimplemented from LanguageConverter.

Definition at line 212 of file LanguageKu.php.

References LanguageConverter\loadTables().


Member Data Documentation

KuConverter::$mArabicToLatin

Definition at line 33 of file LanguageKu.php.

KuConverter::$mLatinToArabic

Definition at line 75 of file LanguageKu.php.


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