85 $actionClass =
'Action' . ucfirst($action);
88 foreach ($_SERVER[
'argv'] as $key => $arg) {
90 $args[] = $action == self::EXT ? $arg : base64_decode($arg);
94 $this->current =
null;
95 if (class_exists($actionClass)) {
97 $this->current =
new $actionClass($args);
113 public function call($actionName, $actionArgs =
null)
115 $actionClass =
'Action' . ucfirst($actionName);
116 if (class_exists($actionClass)) {
118 new $actionClass($actionArgs);
132 return isset($_SERVER[
'argv'])
133 && isset($_SERVER[
'argv'][1])
134 && !empty($_SERVER[
'argv'][1]);
const SWITCH_LOGS_VERBOSE
call($actionName, $actionArgs=null)
const RESTART_ALL_SERVICES
const SWITCH_PHP_EXTENSION
const REFRESH_REPOS_STARTUP
const GEN_SSL_CERTIFICATE
const SWITCH_APACHE_MODULE
static cleanArgv($name, $type='text')
static logDebug($data, $file=null)