| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Administration class for plugins. More...
 Collaboration diagram for ilPluginAdmin:
 Collaboration diagram for ilPluginAdmin:| 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. | |
| Static Public Member Functions | |
| static | getPluginObject ($a_ctype, $a_cname, $a_slot_id, $a_pname) | 
| Get Plugin Object. | |
| Data Fields | |
| $got_data = false | |
| 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::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 240 of file class.ilPluginAdmin.php.
References getPluginData().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPluginAdmin::getActivePluginsForSlot | ( | $a_ctype, | |
| $a_cname, | |||
| $a_slot_id | |||
| ) | 
Get all active plugins for a slot.
Definition at line 277 of file class.ilPluginAdmin.php.
Referenced by ilAppEventHandler\raise().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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 268 of file class.ilPluginAdmin.php.
References getPluginData().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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 212 of file class.ilPluginAdmin.php.
References getPluginData().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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 198 of file class.ilPluginAdmin.php.
References getPluginData().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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 184 of file class.ilPluginAdmin.php.
References getPluginData().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | 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 54 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(), isActive(), and needsUpdate().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | 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 291 of file class.ilPluginAdmin.php.
Referenced by ilObjComponentSettingsGUI\executeCommand(), ilAppEventHandler\raise(), ilObjContentObjectGUI\setilLMMenu(), and ilMainMenuGUI\setTemplateVars().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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 170 of file class.ilPluginAdmin.php.
References getPluginData().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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 226 of file class.ilPluginAdmin.php.
References getPluginData().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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 254 of file class.ilPluginAdmin.php.
References getPluginData().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilPluginAdmin::$got_data = false | 
Definition at line 37 of file class.ilPluginAdmin.php.