ILIAS
Release_3_10_x_branch Revision 61812
|
Administration class for plugins. More...
Public Member Functions | |
__construct () | |
Constructor. | |
getVersion ($a_ctype, $a_cname, $a_slot_id, $a_pname) | |
Get version of plugin. | |
getIliasMinVersion ($a_ctype, $a_cname, $a_slot_id, $a_pname) | |
Get Ilias Min Version. | |
getIliasMaxVersion ($a_ctype, $a_cname, $a_slot_id, $a_pname) | |
Get Ilias Max Version. | |
getId ($a_ctype, $a_cname, $a_slot_id, $a_pname) | |
Get ID. | |
isActive ($a_ctype, $a_cname, $a_slot_id, $a_pname) | |
Checks whether plugin is active (include version checks) | |
needsUpdate ($a_ctype, $a_cname, $a_slot_id, $a_pname) | |
Get version. | |
getAllData ($a_ctype, $a_cname, $a_slot_id, $a_pname) | |
Get all data from file in an array. | |
getActivePluginsForSlot ($a_ctype, $a_cname, $a_slot_id) | |
Get all active plugins for a slot. |
Static Public Member Functions | |
static | getPluginObject ($a_ctype, $a_cname, $a_slot_id, $a_pname) |
Get Plugin Object. |
Private Member Functions | |
getPluginData ($a_ctype, $a_cname, $a_slot_id, $a_pname) | |
Get basic data of plugin from plugin.php. |
Administration class for plugins.
Handles basic data from plugin.php files.
Definition at line 35 of file class.ilPluginAdmin.php.
ilPluginAdmin::__construct | ( | ) |
ilPluginAdmin::getActivePluginsForSlot | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id | |||
) |
Get all active plugins for a slot.
Definition at line 225 of file class.ilPluginAdmin.php.
ilPluginAdmin::getAllData | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id, | |||
$a_pname | |||
) |
Get all data from file in an array.
string | $a_ctype | Component Type |
string | $a_cname | Component Name |
string | $a_slot_id | Slot ID |
string | $a_pname | Plugin Name |
Definition at line 216 of file class.ilPluginAdmin.php.
References getPluginData().
ilPluginAdmin::getId | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id, | |||
$a_pname | |||
) |
Get ID.
string | $a_ctype | Component Type |
string | $a_cname | Component Name |
string | $a_slot_id | Slot ID |
string | $a_pname | Plugin Name |
Definition at line 174 of file class.ilPluginAdmin.php.
References getPluginData().
ilPluginAdmin::getIliasMaxVersion | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id, | |||
$a_pname | |||
) |
Get Ilias Max Version.
string | $a_ctype | Component Type |
string | $a_cname | Component Name |
string | $a_slot_id | Slot ID |
string | $a_pname | Plugin Name |
Definition at line 160 of file class.ilPluginAdmin.php.
References getPluginData().
ilPluginAdmin::getIliasMinVersion | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id, | |||
$a_pname | |||
) |
Get Ilias Min Version.
string | $a_ctype | Component Type |
string | $a_cname | Component Name |
string | $a_slot_id | Slot ID |
string | $a_pname | Plugin Name |
Definition at line 146 of file class.ilPluginAdmin.php.
References getPluginData().
|
finalprivate |
Get basic data of plugin from plugin.php.
string | $a_ctype | Component Type |
string | $a_cname | Component Name |
string | $a_slot_id | Slot ID |
string | $a_pname | Plugin Name |
Definition at line 52 of file class.ilPluginAdmin.php.
References $lng, ilPlugin\getPluginRecord(), ILIAS_VERSION_NUMERIC, ilComponent\isVersionGreaterString(), and ilPluginSlot\lookupSlotName().
Referenced by getAllData(), getId(), getIliasMaxVersion(), getIliasMinVersion(), getVersion(), isActive(), and needsUpdate().
|
static |
Get Plugin Object.
string | $a_ctype | Component Type |
string | $a_cname | Component Name |
string | $a_slot_id | Slot ID |
string | $a_pname | Plugin Name |
Definition at line 239 of file class.ilPluginAdmin.php.
ilPluginAdmin::getVersion | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id, | |||
$a_pname | |||
) |
Get version of plugin.
string | $a_ctype | Component Type |
string | $a_cname | Component Name |
string | $a_slot_id | Slot ID |
string | $a_pname | Plugin Name |
Definition at line 132 of file class.ilPluginAdmin.php.
References getPluginData().
ilPluginAdmin::isActive | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id, | |||
$a_pname | |||
) |
Checks whether plugin is active (include version checks)
string | $a_ctype | Component Type |
string | $a_cname | Component Name |
string | $a_slot_id | Slot ID |
string | $a_pname | Plugin Name |
Definition at line 188 of file class.ilPluginAdmin.php.
References getPluginData().
ilPluginAdmin::needsUpdate | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id, | |||
$a_pname | |||
) |
Get version.
string | $a_ctype | Component Type |
string | $a_cname | Component Name |
string | $a_slot_id | Slot ID |
string | $a_pname | Plugin Name |
Definition at line 202 of file class.ilPluginAdmin.php.
References getPluginData().