setDate(time()); } /** * @return Author */ public function getAuthor() { return $this->author; } /** * @param Author $author * @return Comment */ public function setAuthor(Author $author) { $this->author = $author; return $this; } /** * @return int */ public function getDate() { return $this->dtComment; } /** * @param int $dtComment timestamp of the comment * @return Comment */ public function setDate($dtComment) { $this->dtComment = (int)$dtComment; return $this; } /** * @return string */ public function getText() { return $this->text; } /** * @param string $text * @return Comment */ public function setText($text = '') { $this->text = $text; return $this; } /** * Comment has not height * * @return null */ public function getHeight() { return null; } /** * Set Height * * @param int $pValue * @return $this */ public function setHeight($pValue = 0) { return $this; } /** * Comment has not width * * @return null */ public function getWidth() { return null; } /** * Set Width * * @param int $pValue * @return $this */ public function setWidth($pValue = 0) { return $this; } }