/** * @param int $runmode */ static function set_runmode($runmode) { self::$_runmode = $runmode >= self::DEVELOPMENT && $runmode <= self::PRODUCTION ? $runmode : self::PRODUCTION; }