Lines Matching defs:action
20 protected $action;
37 * Sets up the correct action based on the $ACT global. Writes back
38 * the selected action to $ACT
50 $ACT = $this->action->getActionName();
68 * Setup the given action
71 * sets $action
84 $this->action = $this->loadAction($actionname);
85 $this->checkAction($this->action);
86 $this->action->preProcess();
88 // event said the action should be kept, assume action plugin will handle it later
89 $this->action = new Plugin($actionname);
93 // we should have gotten a new action
106 // do setup for new action
118 * Transitions from one action to another
122 * @param string $from current action name
123 * @param string $to new action name
137 $this->handleFatalException(new FatalException('Maximum action transitions reached', 500, $e));
168 * Load the given action
173 * Action will always have the full original action set as Name
198 * Execute all the checks to see if this action can be executed
200 * @param AbstractAction $action
204 public function checkAction(AbstractAction $action)
209 if (in_array($action->getActionName(), $this->disabled)) {
213 $action->checkPreconditions();
221 if ($perm < $action->minimumPermission()) {
227 * Returns the action handling the current request
233 return $this->action;