Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:core:i18nmanager

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:core:i18nmanager [2026/09/26 09:09] – admin adminscriptlog:lib:core:i18nmanager [2026/09/26 09:34] (current) – admin admin
Line 16: Line 16:
 //None.// //None.//
  
-======= Properties (4) =======+======= Properties (8) =======
  
-  ^ Visibility ^ Type ^ Name ^ Default ^ Line ^ +^ Visibility ^ Type ^ Name ^ Default ^ Line ^ 
-  | ''private static'' | ''static'' | ''$instance'' | ''null;'' | 11 | +| ''private static'' | ''static'' | ''$instance'' | ''null'' | 11 | 
-  | ''private'' | ''(untyped)'' | ''$translations'' | ''[];'' | 13 | +| ''private'' | ''(untyped)'' | ''$locale'' |  | 12 | 
-  | ''private'' | ''(untyped)'' | ''$initialized'' | ''false;'' | 17 | +| ''private'' | ''(untyped)'' | ''$translations'' | ''[]'' | 13 | 
-  | ''private'' | ''(untyped)'' | ''$dirCache'' | ''[];'' | 18 |+| ''private'' | ''(untyped)'' | ''$detector'' |  | 14 | 
 +| ''private'' | ''(untyped)'' | ''$loader'' |  | 15 | 
 +| ''private'' | ''(untyped)'' | ''$router'' |  | 16 | 
 +| ''private'' | ''(untyped)'' | ''$initialized'' | ''false'' | 17 | 
 +| ''private'' | ''(untyped)'' | ''$dirCache'' | ''[]'' | 18 |
  
 ======= Methods (22) ======= ======= Methods (22) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public static | ''getInstance()'' | (undocumented) | 20 | +| public static | ''getInstance()'' | (undocumented) | 20 | 
-  | public static | ''resetInstance()'' | (undocumented) | 28 | +| public static | ''resetInstance()'' | (undocumented) | 28 | 
-  | private | ''__construct()'' | (undocumented) | 33 | +| private | ''__construct()'' | (undocumented) | 33 | 
-  | public | ''initialize()'' | (undocumented) | 37 | +| public | ''initialize()'' | (undocumented) | 37 | 
-  | public | ''initializeWithSettings()'' | (undocumented) | 53 | +| public | ''initializeWithSettings()'' | (undocumented) | 53 | 
-  | public | ''t()'' | @SuppressWarnings(PHPMD.ElseExpression) | 70 | +| public | ''t()'' |  | 70 | 
-  | private | ''loadFromJsonFallback()'' | (undocumented) | 100 | +| private | ''loadFromJsonFallback()'' | (undocumented) | 100 | 
-  | public | ''setLocale()'' | (undocumented) | 118 | +| public | ''setLocale()'' | (undocumented) | 118 | 
-  | public | ''getLocale()'' | (undocumented) | 135 | +| public | ''getLocale()'' | (undocumented) | 135 | 
-  | public | ''getAvailableLocales()'' | (undocumented) | 143 | +| public | ''getAvailableLocales()'' | (undocumented) | 143 | 
-  | public | ''isRtl()'' | (undocumented) | 151 | +| public | ''isRtl()'' | (undocumented) | 151 | 
-  | public | ''getLanguageDirection()'' | (undocumented) | 156 | +| public | ''getLanguageDirection()'' | (undocumented) | 156 | 
-  | public | ''setLanguageDirection()'' | (undocumented) | 178 | +| public | ''setLanguageDirection()'' | (undocumented) | 178 | 
-  | public | ''url()'' | (undocumented) | 183 | +| public | ''url()'' | (undocumented) | 183 | 
-  | public | ''getLoader()'' | (undocumented) | 191 | +| public | ''getLoader()'' | (undocumented) | 191 | 
-  | public | ''getRouter()'' | (undocumented) | 199 | +| public | ''getRouter()'' | (undocumented) | 199 | 
-  | public | ''getDetector()'' | (undocumented) | 207 | +| public | ''getDetector()'' | (undocumented) | 207 | 
-  | public | ''isInitialized()'' | (undocumented) | 215 | +| public | ''isInitialized()'' | (undocumented) | 215 | 
-  | private | ''interpolate()'' | (undocumented) | 220 | +| private | ''interpolate()'' | (undocumented) | 220 | 
-  | private | ''__clone()'' | (undocumented) | 229 | +| private | ''__clone()'' | (undocumented) | 229 | 
-  | public | ''__wakeup()'' | (undocumented) | 233 | +| public | ''__wakeup()'' | (undocumented) | 233 | 
-  | public | ''__unserialize()'' | (undocumented) | 238 |+| public | ''__unserialize()'' | (undocumented) | 238 |
  
  
Line 109: Line 113:
 //lines 53–67 (15)// //lines 53–67 (15)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$settings'' | ''array'' | //required// | //none// |+|  ''$settings'' |  ''array'' |  //required// |  //none// |
  
 **Returns:** ''void'' **Returns:** ''void''
Line 123: Line 127:
 //lines 70–98 (29)// //lines 70–98 (29)//
  
-@SuppressWarnings(PHPMD.ElseExpression) +^  Parameter ^  Type ^  Default ^  Description ^ 
- +|  ''$key'' |  ''string'' |  //required// |  //none// | 
-  ^ Parameter ^ Type ^ Default ^ Description ^ +|  ''$params'' |  ''array'' |  ''[]'' |  //none// | 
-  | ''$key'' | ''string'' | //required// | //none// | +|  ''$locale'' |  ''?string'' |  ''null'' |  //none// |
-  | ''$params'' | ''array'' | ''[]'' | //none// | +
-  | ''$locale'' | ''?string'' | ''null'' | //none// |+
  
 **Returns:** ''string'' **Returns:** ''string''
Line 141: Line 143:
 //lines 100–116 (17)// //lines 100–116 (17)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$key'' | ''string'' | //required// | //none// | +|  ''$key'' |  ''string'' |  //required// |  //none// | 
-  | ''$locale'' | ''string'' | //required// | //none// |+|  ''$locale'' |  ''string'' |  //required// |  //none// |
  
 **Returns:** ''?string'' **Returns:** ''?string''
Line 156: Line 158:
 //lines 118–133 (16)// //lines 118–133 (16)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$locale'' | ''string'' | //required// | //none// |+|  ''$locale'' |  ''string'' |  //required// |  //none// |
  
 **Returns:** ''bool'' **Returns:** ''bool''
Line 222: Line 224:
 //lines 178–181 (4)// //lines 178–181 (4)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$direction'' | ''string'' | //required// | //none// |+|  ''$direction'' |  ''string'' |  //required// |  //none// |
  
 **Returns:** ''void'' **Returns:** ''void''
Line 236: Line 238:
 //lines 183–189 (7)// //lines 183–189 (7)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$path'' | ''string'' | //required// | //none// | +|  ''$path'' |  ''string'' |  //required// |  //none// | 
-  | ''$locale'' | ''?string'' | ''null'' | //none// |+|  ''$locale'' |  ''?string'' |  ''null'' |  //none// |
  
 **Returns:** ''string'' **Returns:** ''string''
Line 303: Line 305:
 //lines 220–227 (8)// //lines 220–227 (8)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$text'' | ''string'' | //required// | //none// | +|  ''$text'' |  ''string'' |  //required// |  //none// | 
-  | ''$params'' | ''array'' | //required// | //none// |+|  ''$params'' |  ''array'' |  //required// |  //none// |
  
 **Returns:** ''string'' **Returns:** ''string''
Line 344: Line 346:
 //lines 238–241 (4)// //lines 238–241 (4)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$_data'' | ''array'' | //required// | //none// |+|  ''$_data'' |  ''array'' |  //required// |  //none// |
  
 **Returns:** ''void'' **Returns:** ''void''
Line 351: Line 353:
 ======= Imports ======= ======= Imports =======
  
-  ^ Alias ^ Fully-qualified name ^ +^ Alias ^ Fully-qualified name ^ 
-  | ''LanguageDao'' | [[scriptlog:lib:dao:languagedao|''Scriptlog\Dao\LanguageDao'']] |+| ''LanguageDao'' | [[scriptlog:lib:dao:languagedao|''Scriptlog\Dao\LanguageDao'']] |
  
  
scriptlog/lib/core/i18nmanager.1790413762.txt.gz · Last modified: by admin