getId() публичный Метод

Get id
public getId ( ) : integer
Результат integer
 public function getId()
 {
     if ($this->__isInitialized__ === false) {
         return (int) $this->_identifier["id"];
     }
     $this->__load();
     return parent::getId();
 }
Пример #2
0
 /**
  * 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();
 }