public static function getInstance() { if (self::$objectInstance === null) { self::$objectInstance = new ISO_Language(); } return self::$objectInstance; }
/** * The function returns language name by its code. * * @static * @access public * @param string $code The language code. * @return string The name. */ public static function getName($code) { return ISO_Language::getInstance()->get($code); }