|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Plugin Slot. More...
Collaboration diagram for ilPluginSlot:Public Member Functions | |
| __construct ($a_c_type, $a_c_name, $a_slot_id) | |
| Constructor. More... | |
| read () | |
| Read properties from DB. More... | |
| setComponentType ($a_componenttype) | |
| Set Component Type. More... | |
| getComponentType () | |
| Get Component Type. More... | |
| setComponentName ($a_componentname) | |
| Set Component Name. More... | |
| getComponentName () | |
| Get Component Name. More... | |
| setSlotId ($a_slotid) | |
| Set Slot ID. More... | |
| getSlotId () | |
| Get Slot ID. More... | |
| setSlotName ($a_slotname) | |
| Set Slot Name. More... | |
| getSlotName () | |
| Get Slot Name. More... | |
| getPluginsDirectory () | |
| Get directory of. More... | |
| getPluginPhpFileName ($a_plugin_name) | |
| Get File name for plugin.php. More... | |
| checkPluginPhpFileAvailability ($a_plugin_name) | |
| Check whether plugin.php file is available for plugin or not. More... | |
| getPluginClassFileName ($a_plugin_name) | |
| Get Class File name for plugin. More... | |
| checkClassFileAvailability ($a_plugin_name) | |
| Check whether Plugin class file is available for plugin or not. More... | |
| getPrefix () | |
| Get slot prefix, used for lang vars and db tables. More... | |
| getPluginsInformation () | |
| Get information an all plugins and their status. More... | |
| getPluginInformationFor (string $name) | |
| getActivePlugins () | |
| Get active plugins of slot. More... | |
Static Public Member Functions | |
| static | _getPluginsDirectory ($a_ctype, $a_cname, $a_slot_id) |
| Get plugins directory. More... | |
| static | lookupSlotId ($a_ctype, $a_cname, $a_slot_name) |
| Lookup slot ID for component and slot name. More... | |
| static | lookupSlotName ($a_ctype, $a_cname, $a_slot_id) |
| Lookup slot name for component and slot id. More... | |
| static | getAllSlots () |
| Get all plugin slots. More... | |
| static | getAvailableSlots () |
| Get all plugin slots where plugins are available. More... | |
Protected Member Functions | |
| readPluginInformation (string $pl_dir, string $file) | |
Protected Attributes | |
| $prefix = "" | |
Plugin Slot.
A plugin slot defines an interface for a set of plugins that share the same characteristics
Definition at line 19 of file class.ilPluginSlot.php.
| ilPluginSlot::__construct | ( | $a_c_type, | |
| $a_c_name, | |||
| $a_slot_id | |||
| ) |
Constructor.
Definition at line 26 of file class.ilPluginSlot.php.
References read(), setComponentName(), setComponentType(), and setSlotId().
Here is the call graph for this function:
|
static |
Get plugins directory.
Definition at line 139 of file class.ilPluginSlot.php.
References lookupSlotName().
Referenced by ilPlugin\_getDirectory().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPluginSlot::checkClassFileAvailability | ( | $a_plugin_name | ) |
Check whether Plugin class file is available for plugin or not.
Definition at line 179 of file class.ilPluginSlot.php.
References getPluginClassFileName().
Referenced by readPluginInformation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPluginSlot::checkPluginPhpFileAvailability | ( | $a_plugin_name | ) |
Check whether plugin.php file is available for plugin or not.
Definition at line 158 of file class.ilPluginSlot.php.
References getPluginPhpFileName().
Referenced by readPluginInformation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPluginSlot::getActivePlugins | ( | ) |
Get active plugins of slot.
Definition at line 317 of file class.ilPluginSlot.php.
References $DIC, getComponentName(), getComponentType(), and getSlotId().
Here is the call graph for this function:
|
static |
Get all plugin slots.
Definition at line 333 of file class.ilPluginSlot.php.
References ilCachedComponentData\getInstance().
Referenced by ilObjLanguage\refreshPlugins().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Get all plugin slots where plugins are available.
Definition at line 355 of file class.ilPluginSlot.php.
References ilCachedComponentData\getInstance().
Referenced by ilPluginsOverviewTableFilterGUI\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPluginSlot::getComponentName | ( | ) |
Get Component Name.
Definition at line 82 of file class.ilPluginSlot.php.
Referenced by getActivePlugins(), getPluginsDirectory(), getPrefix(), and readPluginInformation().
Here is the caller graph for this function:| ilPluginSlot::getComponentType | ( | ) |
Get Component Type.
Definition at line 62 of file class.ilPluginSlot.php.
Referenced by getActivePlugins(), getPluginsDirectory(), getPrefix(), and readPluginInformation().
Here is the caller graph for this function:| ilPluginSlot::getPluginClassFileName | ( | $a_plugin_name | ) |
Get Class File name for plugin.
Definition at line 170 of file class.ilPluginSlot.php.
References getPluginsDirectory().
Referenced by checkClassFileAvailability(), and readPluginInformation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPluginSlot::getPluginInformationFor | ( | string | $name | ) |
Definition at line 234 of file class.ilPluginSlot.php.
References $name, getPluginsDirectory(), and readPluginInformation().
Here is the call graph for this function:| ilPluginSlot::getPluginPhpFileName | ( | $a_plugin_name | ) |
Get File name for plugin.php.
Definition at line 149 of file class.ilPluginSlot.php.
References getPluginsDirectory().
Referenced by checkPluginPhpFileAvailability().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPluginSlot::getPluginsDirectory | ( | ) |
Get directory of.
Definition at line 130 of file class.ilPluginSlot.php.
References getComponentName(), getComponentType(), and getSlotName().
Referenced by ilPluginsOverviewTableGUI\gatherPluginData(), getPluginClassFileName(), getPluginInformationFor(), getPluginPhpFileName(), and getPluginsInformation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPluginSlot::getPluginsInformation | ( | ) |
Get information an all plugins and their status.
Definition at line 208 of file class.ilPluginSlot.php.
References XapiProxy\$plugin, getPluginsDirectory(), and readPluginInformation().
Here is the call graph for this function:| ilPluginSlot::getPrefix | ( | ) |
Get slot prefix, used for lang vars and db tables.
Needs plugin id appended.
Definition at line 192 of file class.ilPluginSlot.php.
References $prefix, getComponentName(), getComponentType(), getSlotId(), and ilComponent\lookupId().
Here is the call graph for this function:| ilPluginSlot::getSlotId | ( | ) |
Get Slot ID.
Definition at line 102 of file class.ilPluginSlot.php.
Referenced by ilPluginsOverviewTableGUI\gatherPluginData(), getActivePlugins(), getPrefix(), read(), and readPluginInformation().
Here is the caller graph for this function:| ilPluginSlot::getSlotName | ( | ) |
Get Slot Name.
Definition at line 122 of file class.ilPluginSlot.php.
Referenced by ilPluginsOverviewTableGUI\gatherPluginData(), and getPluginsDirectory().
Here is the caller graph for this function:
|
static |
Lookup slot ID for component and slot name.
Definition at line 295 of file class.ilPluginSlot.php.
References ilCachedComponentData\getInstance().
Here is the call graph for this function:
|
static |
Lookup slot name for component and slot id.
Definition at line 306 of file class.ilPluginSlot.php.
References ilCachedComponentData\getInstance().
Referenced by ilPluginDBUpdate\__construct(), _getPluginsDirectory(), ilPluginAdmin\getPluginData(), ilPlugin\getPluginObject(), and ilObjComponentSettingsGUI\showPlugin().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPluginSlot::read | ( | ) |
Read properties from DB.
Definition at line 40 of file class.ilPluginSlot.php.
References ilCachedComponentData\getInstance(), getSlotId(), and setSlotName().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 241 of file class.ilPluginSlot.php.
References $DIC, XapiProxy\$plugin, checkClassFileAvailability(), checkPluginPhpFileAvailability(), ilPlugin\createPluginRecord(), getComponentName(), getComponentType(), getPluginClassFileName(), getSlotId(), and ilPlugin\lookupStoredData().
Referenced by getPluginInformationFor(), and getPluginsInformation().
Here is the call graph for this function:
Here is the caller graph for this function:| ilPluginSlot::setComponentName | ( | $a_componentname | ) |
Set Component Name.
| string | $a_componentname | Component Name |
Definition at line 72 of file class.ilPluginSlot.php.
Referenced by __construct().
Here is the caller graph for this function:| ilPluginSlot::setComponentType | ( | $a_componenttype | ) |
Set Component Type.
| string | $a_componenttype | Component Type |
Definition at line 52 of file class.ilPluginSlot.php.
Referenced by __construct().
Here is the caller graph for this function:| ilPluginSlot::setSlotId | ( | $a_slotid | ) |
Set Slot ID.
| string | $a_slotid | Slot ID |
Definition at line 92 of file class.ilPluginSlot.php.
Referenced by __construct().
Here is the caller graph for this function:| ilPluginSlot::setSlotName | ( | $a_slotname | ) |
Set Slot Name.
| string | $a_slotname | Slot Name |
Definition at line 112 of file class.ilPluginSlot.php.
Referenced by read().
Here is the caller graph for this function:
|
protected |
Definition at line 21 of file class.ilPluginSlot.php.
Referenced by getPrefix().