Scriptlog Docs

Scriptlog Documentation

Code reference for the Scriptlog codebase

User Tools

Site Tools


scriptlog:lib:service:configurationservice

Differences

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

Link to this comparison view

Next revision
Previous revision
scriptlog:lib:service:configurationservice [2026/09/26 09:09] – admin adminscriptlog:lib:service:configurationservice [2026/09/26 09:34] (current) – admin admin
Line 10: Line 10:
 ======= Docblock Metadata ======= ======= Docblock Metadata =======
  
-  ^ Tag ^ Value ^ +^ Tag ^ Value ^ 
-  | ''@category'' | Event Class | +| ''@category'' | Event Class | 
-  | ''@author'' | M.Noermoehammad | +| ''@author'' | M.Noermoehammad | 
-  | ''@license'' | MIT | +| ''@license'' | MIT | 
-  | ''@version'' | 1.0 | +| ''@version'' | 1.0 | 
-  | ''@since'' | Since Release 1.0 |+| ''@since'' | Since Release 1.0 |
  
 ======= Inheritance ======= ======= Inheritance =======
Line 25: Line 25:
 //None.// //None.//
  
-======= Properties (0) =======+======= Properties (6) =======
  
-//None declared.//+^ Visibility ^ Type ^ Name ^ Default ^ Line ^ 
 +| ''private'' | ''(untyped)'' | ''$setting_id'' |  | 30 | 
 +| ''private'' | ''(untyped)'' | ''$setting_name'' |  | 37 | 
 +| ''private'' | ''(untyped)'' | ''$setting_value'' |  | 44 | 
 +| ''private'' | ''(untyped)'' | ''$configDao'' |  | 52 | 
 +| ''private'' | ''(untyped)'' | ''$validator'' |  | 60 | 
 +| ''private'' | ''(untyped)'' | ''$sanitizer'' |  | 68 |
  
 ======= Methods (15) ======= ======= Methods (15) =======
  
-  ^ Visibility ^ Method ^ Summary ^ Line ^ +^ Visibility ^ Method ^ Summary ^ Line ^ 
-  | public | ''__construct()'' | (undocumented) | 70 | +| public | ''__construct()'' | (undocumented) | 70 | 
-  | public | ''setConfigId()'' | (undocumented) | 77 | +| public | ''setConfigId()'' | (undocumented) | 77 | 
-  | public | ''setConfigName()'' | (undocumented) | 82 | +| public | ''setConfigName()'' | (undocumented) | 82 | 
-  | public | ''setConfigValue()'' | (undocumented) | 87 | +| public | ''setConfigValue()'' | (undocumented) | 87 | 
-  | public | ''grabSettings()'' | (undocumented) | 92 | +| public | ''grabSettings()'' | (undocumented) | 92 | 
-  | public | ''grabGeneralSettings()'' | (undocumented) | 97 | +| public | ''grabGeneralSettings()'' | (undocumented) | 97 | 
-  | public | ''grabReadingSettings()'' | (undocumented) | 102 | +| public | ''grabReadingSettings()'' | (undocumented) | 102 | 
-  | public | ''grabSettingByName()'' | (undocumented) | 107 | +| public | ''grabSettingByName()'' | (undocumented) | 107 | 
-  | public | ''grabSetting()'' | (undocumented) | 112 | +| public | ''grabSetting()'' | (undocumented) | 112 | 
-  | public | ''addSetting()'' | addSetting | 125 | +| public | ''addSetting()'' | addSetting | 125 | 
-  | public | ''modifySetting()'' | modifySetting | 142 | +| public | ''modifySetting()'' | modifySetting | 142 | 
-  | public | ''removeSetting()'' | removeSetting | 161 | +| public | ''removeSetting()'' | removeSetting | 161 | 
-  | public | ''timezoneIdentifierDropDown()'' | timezoneIdentifierDropDown | 179 | +| public | ''timezoneIdentifierDropDown()'' | timezoneIdentifierDropDown | 179 | 
-  | public | ''membershipDefaultRoleDropDown()'' | membershipDefaultRole | 191 | +| public | ''membershipDefaultRoleDropDown()'' | membershipDefaultRole | 191 | 
-  | public | ''totalSettings()'' | totalSettings | 203 |+| public | ''totalSettings()'' | totalSettings | 203 |
  
  
Line 57: Line 63:
 //lines 70–75 (6)// //lines 70–75 (6)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$configDao'' | [[scriptlog:lib:dao:configurationdao|''ConfigurationDao'']] | //required// | //none// | +|  ''$configDao'' |  [[scriptlog:lib:dao:configurationdao|''ConfigurationDao'']] |  //required// |  //none// | 
-  | ''$validator'' | [[scriptlog:lib:core:formvalidator|''FormValidator'']] | //required// | //none// | +|  ''$validator'' |  [[scriptlog:lib:core:formvalidator|''FormValidator'']] |  //required// |  //none// | 
-  | ''$sanitize'' | [[scriptlog:lib:core:sanitize|''Sanitize'']] | //required// | //none// |+|  ''$sanitize'' |  [[scriptlog:lib:core:sanitize|''Sanitize'']] |  //required// |  //none// |
  
  
Line 71: Line 77:
 //lines 77–80 (4)// //lines 77–80 (4)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$setting_id'' | ''(untyped)'' | //required// | //none// |+|  ''$setting_id'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 85: Line 91:
 //lines 82–85 (4)// //lines 82–85 (4)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$setting_name'' | ''(untyped)'' | //required// | //none// |+|  ''$setting_name'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 99: Line 105:
 //lines 87–90 (4)// //lines 87–90 (4)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$setting_value'' | ''(untyped)'' | //required// | //none// |+|  ''$setting_value'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 113: Line 119:
 //lines 92–95 (4)// //lines 92–95 (4)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$orderBy'' | ''(untyped)'' | '''ID''' | //none// |+|  ''$orderBy'' |  ''(untyped)'' |  '''ID''' |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 127: Line 133:
 //lines 97–100 (4)// //lines 97–100 (4)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$orderBy'' | ''(untyped)'' | '''ID''' | //none// | +|  ''$orderBy'' |  ''(untyped)'' |  '''ID''' |  //none// | 
-  | ''$limit'' | ''(untyped)'' | ''7'' | //none// |+|  ''$limit'' |  ''(untyped)'' |  ''7'' |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 142: Line 148:
 //lines 102–105 (4)// //lines 102–105 (4)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$orderBy'' | ''(untyped)'' | '''ID''' | //none// |+|  ''$orderBy'' |  ''(untyped)'' |  '''ID''' |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 156: Line 162:
 //lines 107–110 (4)// //lines 107–110 (4)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$setting_name'' | ''(untyped)'' | //required// | //none// |+|  ''$setting_name'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 170: Line 176:
 //lines 112–115 (4)// //lines 112–115 (4)//
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$id'' | ''(untyped)'' | //required// | //none// |+|  ''$id'' |  ''(untyped)'' |  //required// |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 234: Line 240:
 timezoneIdentifierDropDown timezoneIdentifierDropDown
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$selected'' | ''(untyped)'' | ''""'' | //none// |+|  ''$selected'' |  ''(untyped)'' |  ''""'' |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 250: Line 256:
 membershipDefaultRole membershipDefaultRole
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$selected'' | ''(untyped)'' | ''""'' | //none// |+|  ''$selected'' |  ''(untyped)'' |  ''""'' |  //none// |
  
 **Returns:** ''(none declared)'' — mixed **Returns:** ''(none declared)'' — mixed
Line 266: Line 272:
 totalSettings totalSettings
  
-  ^ Parameter ^ Type ^ Default ^ Description ^ +^  Parameter ^  Type ^  Default ^  Description ^ 
-  | ''$data'' | ''(untyped)'' | ''null'' | //none// |+|  ''$data'' |  ''(untyped)'' |  ''null'' |  //none// |
  
 **Returns:** ''(none declared)'' **Returns:** ''(none declared)''
Line 273: Line 279:
 ======= Imports ======= ======= Imports =======
  
-  ^ Alias ^ Fully-qualified name ^ +^ Alias ^ Fully-qualified name ^ 
-  | ''FormValidator'' | [[scriptlog:lib:core:formvalidator|''Scriptlog\Core\FormValidator'']] | +| ''FormValidator'' | [[scriptlog:lib:core:formvalidator|''Scriptlog\Core\FormValidator'']] | 
-  | ''Sanitize'' | [[scriptlog:lib:core:sanitize|''Scriptlog\Core\Sanitize'']] | +| ''Sanitize'' | [[scriptlog:lib:core:sanitize|''Scriptlog\Core\Sanitize'']] | 
-  | ''ConfigurationDao'' | [[scriptlog:lib:dao:configurationdao|''Scriptlog\Dao\ConfigurationDao'']] | +| ''ConfigurationDao'' | [[scriptlog:lib:dao:configurationdao|''Scriptlog\Dao\ConfigurationDao'']] | 
-  | ''UserDao'' | [[scriptlog:lib:dao:userdao|''Scriptlog\Dao\UserDao'']] |+| ''UserDao'' | [[scriptlog:lib:dao:userdao|''Scriptlog\Dao\UserDao'']] |
  
  
scriptlog/lib/service/configurationservice.1790413760.txt.gz · Last modified: by admin