コード例 #1
0
ファイル: IndexController.php プロジェクト: anunay/stentors
 public function toExcelAction()
 {
     $this->filename = 'Newsletter.xlsx';
     $searchfor = $this->_request->getParam('searchfor');
     $profile = new NewsletterProfile();
     $this->select = $profile->getSelectStatement();
     $this->tables = array('GenericProfiles' => array('GP_lastName', 'GP_firstName', 'GP_Email'));
     $this->fields = array('lastName' => array('width' => '', 'label' => ''), 'firstName' => array('width' => '', 'label' => ''), 'email' => array('width' => '', 'label' => ''));
     $this->filters = array();
     parent::toExcelAction();
 }