/** * Define o tipo da celula * * @param type $type * @return \ZendT_Report_Cell */ public function setType($type) { $this->_type = ucfirst(strtolower($type)); if ($this->_value instanceof ZendT_Type_Date && !in_array($this->_type, array('Date', 'Datetime', 'Time'))) { $this->_type = $this->_value->getType(); } $this->_addStyleName('type', $this->_type); return $this; }