Zum Seiteninhalt springen
1 2 3 4 5 6 7 8 9 10
public static function getRootInstance(){ $res = null; if(!isset(self::$root)){ $res = self::getInstnace(); //<-- Muss "getInstance()" heißen. :D } else{ $res = self::$root; } return $res; }
Dauerhaft angemeldet bleiben?