@@ -330,7 +330,7 @@ public function getPluralRules()
330
330
public function getLanguageID ($ id )
331
331
{
332
332
// normalize id
333
- $ id = $ this -> getCanonicalID ($ id );
333
+ $ id = self :: getCanonicalID ($ id );
334
334
// remove sub tags
335
335
if (($ underscorePosition =strpos ($ id , '_ ' ))!== false )
336
336
{
@@ -349,7 +349,7 @@ public function getLanguageID($id)
349
349
public function getScriptID ($ id )
350
350
{
351
351
// normalize id
352
- $ id = $ this -> getCanonicalID ($ id );
352
+ $ id = self :: getCanonicalID ($ id );
353
353
// find sub tags
354
354
if (($ underscorePosition =strpos ($ id , '_ ' ))!==false )
355
355
{
@@ -381,7 +381,7 @@ public function getScriptID($id)
381
381
public function getTerritoryID ($ id )
382
382
{
383
383
// normalize id
384
- $ id = $ this -> getCanonicalID ($ id );
384
+ $ id = self :: getCanonicalID ($ id );
385
385
// find sub tags
386
386
if (($ underscorePosition =strpos ($ id , '_ ' ))!== false )
387
387
{
@@ -417,7 +417,7 @@ public function getTerritoryID($id)
417
417
*/
418
418
public function getLocaleDisplayName ($ id =null , $ category ='languages ' )
419
419
{
420
- $ id = $ this -> getCanonicalID ((string )$ id );
420
+ $ id = self :: getCanonicalID ((string )$ id );
421
421
if (($ category == 'languages ' ) && (isset ($ this ->_data [$ category ][$ id ])))
422
422
{
423
423
return $ this ->_data [$ category ][$ id ];
0 commit comments