CaMykS  1.0-20231201
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
Admin_PluginManagerItem Class Reference

Admin_PluginManager Module plugin information library. More...

Public Member Functions

 __construct ($id=0, $parent=null)
 
 install ()
 
 is_installed ()
 
 get_fromHeader ()
 
 save_toDatabase ()
 
 create_toDatabase ()
 
 delete_fromDatabase ($p)
 
 update_toDatabase ()
 
 active_plugin ($plugin=null, $type=null, $location=null, $active=null)
 
 update_pluginVersion ($plugin, $type, $version)
 
 set_asDefault ($cMode='site')
 
 get_objectList ($params=array())
 

Public Attributes

 $id
 Object identifier. More...
 

Private Member Functions

 build_whereStatement ($params=array())
 
 get_defaultParams ()
 

Private Attributes

 $_libParent
 Link to parent module. More...
 
 $_libIsInstalled = null
 Is library installed. More...
 

Detailed Description

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
Date
Creation: Oct 2008
Modification: Nov 2020
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.

Constructor & Destructor Documentation

◆ __construct()

Admin_PluginManagerItem::__construct (   $id = 0,
  $parent = null 
)

Class constructor.

Parameters
integer$id
module$parent
Returns
void

Member Function Documentation

◆ 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
$parray
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
string$cMode
Returns
boolean success

◆ get_objectList()

Admin_PluginManagerItem::get_objectList (   $params = array())

Load plugin list.

Parameters
array$params
Returns
array

◆ build_whereStatement()

Admin_PluginManagerItem::build_whereStatement (   $params = array())
private

Build where statement from params.

Parameters
array$params
Returns
string

◆ get_defaultParams()

Admin_PluginManagerItem::get_defaultParams ( )
private

Return default params

Returns
array

Member Data Documentation

◆ $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: