public static function getInstance() { if (!self::$_instance instanceof self) { self::$_instance = new self(); } return self::$_instance; }
public static function getInstance() { if (self::$_instance === NULL) { self::$_instance = new self(); } return self::$_instance; }
/** * @return AutoLoader */ public static function &getInstance() { if (!self::$_instance instanceof self) { self::$_instance = new self(); self::$_instance->initialize(); return self::$_instance; } else { return self::$_instance; } }