public function select_for_output() { if (!$this->checkParams('type')) { sendBack(); } if ($this->_data['type'] == 'remittance') { sendTo($this->name, 'index', $this->_modules); } parent::select_for_output(); }
public function select_for_output() { if (!$this->checkParams('type')) { sendBack(); } if ($this->_data['type'] == 'remittance') { if (!$this->checkParams('id')) { sendBack(); } $this->select_remittances(); } else { parent::select_for_output(); } }