/** * Is this step allowed. * * @return bool */ public static function isAllowed() { return InstallerStep4::isAllowed() && isset($_SESSION['modules']) && isset($_SESSION['example_data']) && isset($_SESSION['debug_mode']); }
/** * Validates the previous steps */ private function validateForm() { return InstallerStep2::isAllowed() && InstallerStep3::isAllowed() && InstallerStep4::isAllowed() && InstallerStep5::isAllowed(); }