Ejemplo n.º 1
0
 /**
  * @param string $word
  * @param string $case
  * @return string
  */
 function convertGrammar($word, $case)
 {
     $variant = $this->getPreferredVariant();
     switch ($variant) {
         case 'kk-arab':
         case 'kk-cn':
             $word = parent::convertGrammarKk_arab($word, $case);
             break;
         case 'kk-latn':
         case 'kk-tr':
             $word = parent::convertGrammarKk_latn($word, $case);
             break;
         case 'kk-cyrl':
         case 'kk-kz':
         case 'kk':
         default:
             $word = parent::convertGrammarKk_cyrl($word, $case);
     }
     return $word;
 }