public static function getInstance() { if (is_null(self::$oInstance)) { self::$oInstance = new FlexiModxPlatformHandler(); } return self::$oInstance; }