code: private function _cmpFrm($txt)
      {
          $CmpFrmRV = '';
          $length = mb_strlen($txt, 'UTF-8');
          for ($CmpFrmI = 0; $CmpFrmI < $length; $CmpFrmI++) {
              if (mb_substr($txt, $CmpFrmI, 1, 'UTF-8') === '0') {
                  $CmpFrmRV .= $this->aCmpReg[0];
              } elseif (mb_substr($txt, $CmpFrmI, 1, 'UTF-8') === '1') {
                  $CmpFrmRV .= $this->aCmpReg[1];
              } elseif (mb_substr($txt, $CmpFrmI, 1, 'UTF-8') === '2') {
                  $CmpFrmRV .= $this->aCmpReg[2];
              } else {
                  $CmpFrmRV .= mb_substr($txt, $CmpFrmI, 1, 'UTF-8');
              }
          }
  
          return $CmpFrmRV;
      }
docs: Funkce pro sklonovani
  
  @param string $txt Vstupni text
  
  @return string Vystupni text