PHP Class morphos\RussianGeneralDeclension

Inheritance: extends BasicDeclension, implements morphos\RussianCases, use trait Russian
显示文件 Open project: wapmorgan/morphos

Public Methods

Method Description
declinateFirstDeclension ( $word, $animate = false )
declinateSecondDeclension ( $word )
declinateThirdDeclension ( $word )
getDeclension ( $word )
getForm ( $word, $animate = false, $form )
getForms ( $word, $animate = false )
hasForms ( $word, $animate = false ) }
pluralizeAllDeclensions ( $word, $animate = false )

Protected Methods

Method Description
chooseVowelAfterConsonant ( $last, $soft_last, $after_soft, $after_hard )
getPredCaseOf12Declensions ( $word, $last, $prefix )
getPrefixOfFirstDeclension ( $word, $last )
getVinitCaseByAnimateness ( array $forms, $animate )

Method Details

chooseVowelAfterConsonant() protected method

protected chooseVowelAfterConsonant ( $last, $soft_last, $after_soft, $after_hard )

declinateFirstDeclension() public method

public declinateFirstDeclension ( $word, $animate = false )

declinateSecondDeclension() public method

public declinateSecondDeclension ( $word )

declinateThirdDeclension() public method

public declinateThirdDeclension ( $word )

getDeclension() public method

public getDeclension ( $word )

getForm() public method

public getForm ( $word, $animate = false, $form )

getForms() public method

public getForms ( $word, $animate = false )

getPredCaseOf12Declensions() protected method

protected getPredCaseOf12Declensions ( $word, $last, $prefix )

getPrefixOfFirstDeclension() protected method

protected getPrefixOfFirstDeclension ( $word, $last )

getVinitCaseByAnimateness() protected method

protected getVinitCaseByAnimateness ( array $forms, $animate )
$forms array

hasForms() public method

}
public hasForms ( $word, $animate = false )

pluralizeAllDeclensions() public method

public pluralizeAllDeclensions ( $word, $animate = false )