public function preExecute() { parent::preExecute(); $this->sheet_model = new stickiesSheetModel(); $this->sheet_id = (int) waRequest::post('sheet_id'); $this->sticky_model = new stickiesStickyModel(); $this->sticky_id = (int) waRequest::post('id'); }
public function preExecute() { parent::preExecute(); $this->sheet_model = new stickiesSheetModel(); $this->sheet_id = (int) waRequest::post('sheet_id'); // Check user rights //if (!waSystem::getInstance()->getUser()->getRights(waSystem::getInstance()->getApp(), 'state.'.$state_id)) // $this->response = '#/orders/all/'; // return redirect url in response }