/** * switches back to the non admin mode, where unpublished elements are invisible * @static * @return void */ public static function unsetAdminMode() { self::$adminMode = false; }