ILIAS
Release_5_0_x_branch Revision 61816
|
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) | |
exists ($a_ctype, $a_cname, $a_slot_id, $a_pname) | |
Checks whether plugin exists. | |
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. | |
hasLearningProgress ($a_ctype, $a_cname, $a_slot_id, $a_pname) | |
Checks whether plugin has active learning progress. |
Static Public Member Functions | |
static | getPluginObject ($a_ctype, $a_cname, $a_slot_id, $a_pname) |
Get Plugin Object. | |
static | includeClass ($a_ctype, $a_cname, $a_slot_id, $a_pname, $a_class_file_name) |
Get Plugin Object. |
Data Fields | |
$got_data = false |
Static Public Attributes | |
static | $active_plugins = array() |
static | $plugin_objects = array() |
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 16 of file class.ilPluginAdmin.php.
ilPluginAdmin::__construct | ( | ) |
ilPluginAdmin::exists | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id, | |||
$a_pname | |||
) |
Checks whether plugin exists.
string | $a_ctype | Component Type |
string | $a_cname | Component Name |
string | $a_slot_id | Slot ID |
string | $a_pname | Plugin Name |
Definition at line 242 of file class.ilPluginAdmin.php.
References getPluginData().
ilPluginAdmin::getActivePluginsForSlot | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id | |||
) |
Get all active plugins for a slot.
Definition at line 279 of file class.ilPluginAdmin.php.
Referenced by ilAppEventHandler\raise().
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 270 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 207 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 193 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 179 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 48 of file class.ilPluginAdmin.php.
References $ilDB, $lng, ilPlugin\getPluginRecord(), ILIAS_VERSION_NUMERIC, ilComponent\isVersionGreaterString(), and ilPluginSlot\lookupSlotName().
Referenced by exists(), getAllData(), getId(), getIliasMaxVersion(), getIliasMinVersion(), getVersion(), hasLearningProgress(), 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 301 of file class.ilPluginAdmin.php.
Referenced by ilUIHookProcessor\__construct(), ilTestSignatureGUI\__construct(), ilTabsGUI\__getHTML(), ilStartUpGUI\_checkGoto(), ilTemplate\addBlockFile(), ilObjComponentSettingsGUI\executeCommand(), ilTemplate\get(), ilContainerGUI\getAsynchItemListObject(), includeClass(), ilInitialisation\initStyle(), ilRendererFactory\loadAvailableRenderers(), ilTemplate\loadTemplatefile(), ilAppEventHandler\raise(), ilUtil\redirect(), ilObjContentObjectGUI\setilLMMenu(), and ilTemplate\show().
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 165 of file class.ilPluginAdmin.php.
References getPluginData().
ilPluginAdmin::hasLearningProgress | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id, | |||
$a_pname | |||
) |
Checks whether plugin has active learning progress.
string | $a_ctype | Component Type |
string | $a_cname | Component Name |
string | $a_slot_id | Slot ID |
string | $a_pname | Plugin Name |
Definition at line 342 of file class.ilPluginAdmin.php.
References getPluginData().
|
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 321 of file class.ilPluginAdmin.php.
References getPluginObject().
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 221 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 256 of file class.ilPluginAdmin.php.
References getPluginData().
|
static |
Definition at line 24 of file class.ilPluginAdmin.php.
ilPluginAdmin::$got_data = false |
Definition at line 18 of file class.ilPluginAdmin.php.
|
static |
Definition at line 30 of file class.ilPluginAdmin.php.