/** * Return the current object instance (Singleton) * @return object */ public static function getInstance() { if (!is_object(self::$objInstance)) { self::$objInstance = new InsertTags(); } return self::$objInstance; }