getId() public method

Get id
public getId ( ) : integer
return integer
 public function getId()
 {
     if ($this->__isInitialized__ === false) {
         return (int) $this->_identifier["id"];
     }
     $this->__load();
     return parent::getId();
 }
Beispiel #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();
 }