/** * Load from row * * @param array $row * @return null */ function loadFromRow($row) { $result = parent::loadFromRow($row); if ($result && (int) $this->getComment() > 0) { $this->has_body = true; $this->has_footer = true; } // if return $result; }