protected function translateTh($nr)
    {
        // fr: 1ère, 2ème, 3ème, 4ème
        // de: 1., 2., 3., 4.
        $key = $this->lang;
        if (!isset($this->uiTh[$key])) {
            $key = key($this->uiTh);
        }
        if (isset($this->uiTh[$key][$nr])) {
            return $this->uiTh[$key][$nr];
        } else {
            return $this->uiTh[$key][4];
        }
    }
protected function translateTh($nr)
    {
        // fr: 1ère, 2ème, 3ème, 4ème
        // de: 1., 2., 3., 4.
        $key = $this->lang;
        if (!isset($this->uiTh[$key])) {
            $key = key($this->uiTh);
        }
        if (isset($this->uiTh[$key][$nr])) {
            return $this->uiTh[$key][$nr];
        } else {
            return $this->uiTh[$key][4];
        }
    }
protected function translateTh ( $ nr ) { // fr: 1ère, 2ème, 3ème, 4ème // de: 1., 2., 3., 4. $ key = $ this -> lang ; if ( ! isset ( $ this -> uiTh [ $ key ] ) ) { $ key = key ( $ this -> uiTh ) ; } if ( isset ( $ this -> uiTh [ $ key ] [ $ nr ] ) ) { return $ this -> uiTh [ $ key ] [ $ nr ] ; } else { return $ this -> uiTh [ $ key ] [ 4 ] ; } }
Returns '1st', '2nd', '3rd', '4th' string part for given number

@param $nr

@return string
Returns 1st 2nd 3rd 4th string part for given number