public function actionPDFPrint($id) { if (@$_GET['vi']) { $this->pdf_print_suffix = 'vi'; } return parent::actionPDFPrint($id); }
public function actionPDFPrint($id) { if (@$_GET['all']) { $this->pdf_print_suffix = 'all'; $letter = ElementLetter::model()->find('event_id=?', array($id)); $this->pdf_print_documents = 2 + count($letter->getCcTargets()); } return parent::actionPDFPrint($id); }
public function actionPDFPrint($id) { $this->pdf_print_suffix = Site::model()->findByPk(Yii::app()->session['selected_site_id'])->id; $this->pdf_print_documents = 3; return parent::actionPDFPrint($id); }