KuConverter Class Reference
[Language]

Kurdish converter routines. More...

Inherits LanguageConverter.

List of all members.

Public Member Functions

 loadDefaultTables ()
 Load default conversion tables This method must be implemented in derived class.
 parserConvert ($text, &$parser)
 Convert text using a parser object for context.
 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 179 of file LanguageKu.php.

References $text, and $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 151 of file LanguageKu.php.

References $ns, and 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 169 of file LanguageKu.php.

References $text.

KuConverter::parserConvert ( text,
&$  parser 
)

Convert text using a parser object for context.

Access:
public

Reimplemented from LanguageConverter.

Definition at line 136 of file LanguageKu.php.

References $text.

KuConverter::translate ( text,
toVariant 
)

It translates text into variant, specials:

  • ommiting roman numbers.

Reimplemented from LanguageConverter.

Definition at line 192 of file LanguageKu.php.

References $text.


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 Sep 5 02:08:39 2009 for MediaWiki by  doxygen 1.5.9