PluginConfig library.
More...
PluginConfig library.
Engine / Object Library
- Author
- CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
- Version
- 1.0.1
- Date
- Creation: Oct 2017
-
Modification: Jan 2023
- Copyright
- 2017 - 2023 CaMykS Team
- Note
- This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. PluginConfig class.
- Author
- CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
◆ __construct()
PluginConfig::__construct |
( |
|
$name, |
|
|
& |
$plugin |
|
) |
| |
Class constructor.
- Parameters
-
Reimplemented in Admin_UserConfig, Admin_SystemUniqueIDManagerConfig, Admin_SystemNotificationsConfig, Admin_SystemLogManagerConfig, Admin_StatisticsSettings, Admin_SiteReportConfig, Admin_SecurityUAFilterConfig, Admin_SecurityToolsConfig, Admin_GooglePoIMapManagerConfig, Admin_GenericMediaLibraryManagerConfig, Admin_GenericGuestBookManagerConfig, Admin_GenericEmailingManagerEmailingConfig, Admin_GenericEmailingManagerContactsImportConfig, Admin_GenericEmailingManagerConfig, Admin_GenericDownloadManagerConfig, Admin_GenericContactFormManagerConfig, Admin_GenericBlogsManagerConfig, Admin_ContentPageConfig, SystemPayPaymentConfig, StripePaymentConfig, SpamCheckerConfig, SocialNetworksSharingPanelConfig, SiteMonitoringToolbarConfig, ScelliusPaymentConfig, ReCaptchaConfig, PayZenPaymentConfig, PayBoxPaymentConfig, MoneticoPaiementConfig, LimonetikPaymentConfig, IPGeolocatorConfig, GoogleAnalyticsConfig, GenericSitemapGeneratorConfig, GenericMediaPopupConfig, CrispChatConfig, CookieAgreementMessageConfig, CodeAuthenticatorConfig, ClicAndPayPaymentConfig, and ModuleConfig.
◆ install()
PluginConfig::install |
( |
| ) |
|
Install object.
- Returns
- boolean
◆ uninstall()
PluginConfig::uninstall |
( |
| ) |
|
Uninstall object.
- Returns
- boolean
◆ init_config()
PluginConfig::init_config |
( |
| ) |
|
◆ add_newItem()
PluginConfig::add_newItem |
( |
|
$name, |
|
|
|
$type, |
|
|
|
$default = null |
|
) |
| |
◆ initialise()
PluginConfig::initialise |
( |
| ) |
|
Initialise object with default values.
- Returns
- boolean
◆ get()
Load object from file.
- Returns
- boolean
◆ save()
Save object to file.
- Returns
- boolean
◆ delete()
Delete object file.
- Returns
- boolean
◆ reset()
Reset object into file.
- Returns
- boolean success
◆ check_data()
PluginConfig::check_data |
( |
| ) |
|
◆ get_fromHeader()
PluginConfig::get_fromHeader |
( |
| ) |
|
◆ get_value()
PluginConfig::get_value |
( |
|
$param = '' , |
|
|
|
$default = false |
|
) |
| |
Return value.
- Parameters
-
string | $param | |
mixed | $default | |
- Returns
- mixed
◆ get_translation()
PluginConfig::get_translation |
( |
|
$str, |
|
|
|
$args = null |
|
) |
| |
Return locale
- Parameters
-
- Returns
- string
◆ load_fromSession()
PluginConfig::load_fromSession |
( |
| ) |
|
Load object data from session.
- Returns
- void
◆ save_toSession()
PluginConfig::save_toSession |
( |
| ) |
|
Save object data in session.
- Returns
- void
◆ delete_fromSession()
PluginConfig::delete_fromSession |
( |
| ) |
|
Delete object from session.
- Returns
- void
◆ $object_type
◆ $_libName
string PluginConfig::$_libName |
◆ $_libParent
Object PluginConfig::$_libParent |
◆ $_libItems
array PluginConfig::$_libItems = array() |
◆ $_libDesc
string PluginConfig::$_libDesc |
◆ $_libFolder
string PluginConfig::$_libFolder |
|
protected |
Folder where object are stored.
◆ $_libFile
string PluginConfig::$_libFile |
|
protected |
◆ $_libError
string PluginConfig::$_libError = '' |
◆ $name
string PluginConfig::$name |
◆ $vars
array PluginConfig::$vars = null |
The documentation for this class was generated from the following file: