public function __construct(Container $container) { parent::__construct($container); $this->_phpexcel = new \PHPExcel(); $this->_sheet = $this->_phpexcel->getActiveSheet(); //посчитаем размер строчек в TO, нужно для определения размера Merge колонок foreach ($this->header as $key => $value) { if (strstr($key, 'to_')) { $this->_sizeTO++; } } }
public function __construct(Container $container) { parent::__construct($container); $this->_phpexcel = new \PHPExcel(); $this->_sheet = $this->_phpexcel->getActiveSheet(); }