function save() { $v = new voucher(); $v->savevoucher(); $this->redirect = "index.php?option=com_caddy&action=vouchers&task=show&field={$this->field}&this->order={$order}&search={$this->search}"; $this->message = JText::_('SC_VOUCHERSAVED'); }