public function getId() { $result = $this->object->getId(); return $result === $this->object ? $this : $result; }
/** * @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())); }