/** * Show all available course wizard steps and their status. */ public function index_action() { $this->steps = CourseWizardStepRegistry::findBySQL("1 ORDER BY `number`"); $this->has_enabled = CourseWizardStepRegistry::hasEnabledSteps(); }