/** * Constructor * * @param mixed $oid Integer, array, or object * @return mixed */ public function __construct($oid = null) { parent::__construct($oid); if (!$this->get('summary') && $this->get('report')) { $this->set('summary', substr($this->get('report'), 0, 70)); if (strlen($this->get('summary')) >= 70) { $this->set('summary', $this->get('summary') . '...'); } } $this->_data = new Object(); }