Example #1
0
 protected function _dateLine()
 {
     $_cell = new ZendT_Report_Cell();
     $_cell->setTextAlign('center');
     $_cell->setFontSize(7);
     $_cell->setTaStyle($this->_checkStyle($_cell));
     $styleId = $_cell->getTaStyle();
     if (!$styleId) {
         $styleId = 'String';
     }
     $date = ZendT_Type_Date::nowDateTime()->get();
     $this->_memObject->value .= "<Row>\n";
     $this->_memObject->value .= '<Cell ss:StyleID="' . $styleId . '"><Data ss:Type="String">' . $this->_escapeString($date) . '</Data></Cell>' . "\n";
     $this->_memObject->value .= "</Row>\n\n";
     $this->_rows++;
 }