| Next revision | Previous revision |
| scriptlog:lib:service:configurationservice [2026/09/26 09:09] – admin admin | scriptlog:lib:service:configurationservice [2026/09/26 09:34] (current) – admin admin |
|---|
| ======= 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 ======= |
| //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 | |
| |
| |
| //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// | |
| |
| |
| //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)'' |
| //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)'' |
| //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)'' |
| //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)'' |
| //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)'' |
| //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)'' |
| //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)'' |
| //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)'' |
| timezoneIdentifierDropDown | timezoneIdentifierDropDown |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$selected'' | ''(untyped)'' | ''""'' | //none// | | | ''$selected'' | ''(untyped)'' | ''""'' | //none// | |
| |
| **Returns:** ''(none declared)'' | **Returns:** ''(none declared)'' |
| membershipDefaultRole | membershipDefaultRole |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$selected'' | ''(untyped)'' | ''""'' | //none// | | | ''$selected'' | ''(untyped)'' | ''""'' | //none// | |
| |
| **Returns:** ''(none declared)'' — mixed | **Returns:** ''(none declared)'' — mixed |
| totalSettings | totalSettings |
| |
| ^ Parameter ^ Type ^ Default ^ Description ^ | ^ Parameter ^ Type ^ Default ^ Description ^ |
| | ''$data'' | ''(untyped)'' | ''null'' | //none// | | | ''$data'' | ''(untyped)'' | ''null'' | //none// | |
| |
| **Returns:** ''(none declared)'' | **Returns:** ''(none declared)'' |
| ======= 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'']] | |
| |
| |