morphos\RussianGeneralDeclension::getPredCaseOf12Declensions PHP Method

getPredCaseOf12Declensions() protected method

protected getPredCaseOf12Declensions ( $word, $last, $prefix )
    protected function getPredCaseOf12Declensions($word, $last, $prefix)
    {
        if (slice($word, -2) == 'ий') {
            if ($last == 'ё') {
                return $prefix . 'е';
            } else {
                return $prefix . 'и';
            }
        } else {
            return $prefix . 'е';
        }
    }