Admin_PluginManager module, plugin information library.
More...
Admin_PluginManager module, plugin information library.
Plugin / Module 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.3.1
- Date
- Creation: Oct 2008
-
Modification: Jul 2025
- Copyright
- 2008 - 2025 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. Admin_PluginManagerItem class.
◆ __construct()
| Admin_PluginManagerItem::__construct |
( |
|
$id = 0, |
|
|
|
$parent = null |
|
) |
| |
Class constructor.
- Parameters
-
◆ install()
| Admin_PluginManagerItem::install |
( |
| ) |
|
Install module.
- Returns
- boolean success
◆ is_installed()
| Admin_PluginManagerItem::is_installed |
( |
| ) |
|
Check installation.
- Returns
- boolean result
◆ get_fromHeader()
| Admin_PluginManagerItem::get_fromHeader |
( |
| ) |
|
Load plugin data from header.
- Returns
- void
◆ save_toDatabase()
| Admin_PluginManagerItem::save_toDatabase |
( |
| ) |
|
Save plugin info in database.
- Returns
- boolean success
◆ create_toDatabase()
| Admin_PluginManagerItem::create_toDatabase |
( |
| ) |
|
Create new entry in database.
- Returns
- boolean success
◆ delete_fromDatabase()
| Admin_PluginManagerItem::delete_fromDatabase |
( |
|
$p | ) |
|
Delete item from database.
- Parameters
-
- Returns
- boolean success
◆ update_toDatabase()
| Admin_PluginManagerItem::update_toDatabase |
( |
| ) |
|
Update existing entry in database.
- Returns
- boolean success
◆ active_plugin()
| Admin_PluginManagerItem::active_plugin |
( |
|
$plugin = null, |
|
|
|
$type = null, |
|
|
|
$location = null, |
|
|
|
$active = null |
|
) |
| |
Plugin activation method.
- Parameters
-
| string | $plugin | |
| string | $type | |
| string | $location | |
| string | $active | |
- Returns
- boolean success
◆ update_pluginVersion()
| Admin_PluginManagerItem::update_pluginVersion |
( |
|
$plugin, |
|
|
|
$type, |
|
|
|
$version |
|
) |
| |
Update plugin version.
- Parameters
-
| string | $plugin | |
| string | $type | |
| string | $version | |
- Returns
- boolean success
◆ set_asDefault()
| Admin_PluginManagerItem::set_asDefault |
( |
|
$cMode = 'site' | ) |
|
Set plugin as default plugin in CaMykS Configuration.
- Parameters
-
- Returns
- boolean success
◆ get_objectList()
| Admin_PluginManagerItem::get_objectList |
( |
|
$params = array() | ) |
|
Load plugin list.
- Parameters
-
- Returns
- array
◆ build_whereStatement()
| Admin_PluginManagerItem::build_whereStatement |
( |
|
$params = array() | ) |
|
|
private |
Build where statement from params.
- Parameters
-
- Returns
- string
◆ get_defaultParams()
| Admin_PluginManagerItem::get_defaultParams |
( |
| ) |
|
|
private |
Return default params
- Returns
- array
◆ $id
| Admin_PluginManagerItem::$id |
Object identifier.
var integer $id
◆ $_libParent
| Admin_PluginManagerItem::$_libParent |
|
private |
Link to parent module.
var Object $_libParent
◆ $_libIsInstalled
| Admin_PluginManagerItem::$_libIsInstalled = null |
|
private |
Is library installed.
var boolean $_libIsInstalled
The documentation for this class was generated from the following file: