determineAction(); $this->adminAction->handle(); } private function determineAction() { global $INPUT; if (!$INPUT->has('configFile')) { $this->adminAction = new ConfigManagerAdminOverview(); return; } $this->adminAction = new ConfigManagerAdminShowConfig(); } /** * Output html of the admin page */ public function html() { echo '
'; $this->adminAction->html(); echo '
'; } }