public function getId() { if ($this->__isInitialized__ === false) { return (int) $this->_identifier["id"]; } $this->__load(); return parent::getId(); }
/** * Check if the comment is the same as this one * * @param Comment $p_comment * @return bool * @deprecated legacy from frontend controllers */ public function SameAs($p_comment) { return $p_comment->getId() == $this->getId(); }