Lines Matching defs:actionname
73 * @param string $actionname this is passed as a reference to $ACT, for plugin backward compatibility
76 protected function setupAction(&$actionname)
78 $presetup = $actionname;
81 // give plugins an opportunity to process the actionname
82 $evt = new Event('ACTION_ACT_PREPROCESS', $actionname);
84 $this->action = $this->loadAction($actionname);
89 $this->action = new Plugin($actionname);
94 $actionname = $e->getNewAction();
107 $this->transitionAction($presetup, $actionname);
109 msg('Action unknown: ' . hsc($actionname), -1);
110 $actionname = 'show';
111 $this->transitionAction($presetup, $actionname);
177 * @param $actionname
181 public function loadAction($actionname)
183 $actionname = strtolower($actionname); // FIXME is this needed here? should we run a cleanup somewhere else?
184 $parts = explode('_', $actionname);
189 return new $class($actionname);