Ejemplo n.º 1
0
 public function getCommentId()
 {
     $id = $this->_record->id;
     if ($this->type === 'answer') {
         $id = $this->_record->getCommentPost()->id;
     }
     return $id;
 }