Ejemplo n.º 1
0
 public function getAccentId()
 {
     $result = $this->object->getAccentId();
     return $result === $this->object ? $this : $result;
 }
Ejemplo n.º 2
0
 /**
  * @param phpMorphy_Dict_Lemma $lemma
  * @return string
  */
 function formatLemma(phpMorphy_Dict_Lemma $lemma)
 {
     return $this->formatSimpleModel('Lemma', array('id' => $lemma->getId(), 'base' => $lemma->getBase(), 'flexia_id' => $lemma->getFlexiaId(), 'common_ancode_id' => $lemma->hasAncodeId() ? $lemma->getAncodeId() : null, 'common_prefix_id' => $lemma->hasPrefixId() ? $lemma->getPrefixId() : null, 'accent_id' => $lemma->getAccentId()));
 }