ILIAS
Release_3_10_x_branch Revision 61812
|
Plugin Slot. More...
Public Member Functions | |
__construct ($a_c_type, $a_c_name, $a_slot_id) | |
Constructor. | |
read () | |
Read properties from DB. | |
setComponentType ($a_componenttype) | |
Set Component Type. | |
getComponentType () | |
Get Component Type. | |
setComponentName ($a_componentname) | |
Set Component Name. | |
getComponentName () | |
Get Component Name. | |
setSlotId ($a_slotid) | |
Set Slot ID. | |
getSlotId () | |
Get Slot ID. | |
setSlotName ($a_slotname) | |
Set Slot Name. | |
getSlotName () | |
Get Slot Name. | |
getPluginsDirectory () | |
Get directory of. | |
getPluginPhpFileName ($a_plugin_name) | |
Get File name for plugin.php. | |
checkPluginPhpFileAvailability ($a_plugin_name) | |
Check whether plugin.php file is available for plugin or not. | |
getPluginClassFileName ($a_plugin_name) | |
Get Class File name for plugin. | |
checkClassFileAvailability ($a_plugin_name) | |
Check whether Plugin class file is available for plugin or not. | |
getPrefix () | |
Get slot prefix, used for lang vars and db tables. | |
getPluginsInformation () | |
Get information an all plugins and their status. | |
lookupSlotId ($a_ctype, $a_cname, $a_slot_name) | |
Lookup slot ID for component and slot name. | |
lookupSlotName ($a_ctype, $a_cname, $a_slot_id) | |
Lookup slot name for component and slot id. | |
getActivePlugins () | |
Get active plugins of slot. |
Plugin Slot.
A plugin slot defines an interface for a set of plugins that share the same characteristics
Definition at line 39 of file class.ilPluginSlot.php.
ilPluginSlot::__construct | ( | $a_c_type, | |
$a_c_name, | |||
$a_slot_id | |||
) |
Constructor.
Definition at line 45 of file class.ilPluginSlot.php.
References read(), setComponentName(), setComponentType(), and setSlotId().
ilPluginSlot::checkClassFileAvailability | ( | $a_plugin_name | ) |
Check whether Plugin class file is available for plugin or not.
Definition at line 195 of file class.ilPluginSlot.php.
References getPluginClassFileName().
Referenced by getPluginsInformation().
ilPluginSlot::checkPluginPhpFileAvailability | ( | $a_plugin_name | ) |
Check whether plugin.php file is available for plugin or not.
Definition at line 173 of file class.ilPluginSlot.php.
References getPluginPhpFileName().
Referenced by getPluginsInformation().
ilPluginSlot::getActivePlugins | ( | ) |
Get active plugins of slot.
Definition at line 312 of file class.ilPluginSlot.php.
References getComponentName(), getComponentType(), and getSlotId().
ilPluginSlot::getComponentName | ( | ) |
Get Component Name.
Definition at line 107 of file class.ilPluginSlot.php.
Referenced by getActivePlugins(), getPluginsInformation(), getPrefix(), and read().
ilPluginSlot::getComponentType | ( | ) |
Get Component Type.
Definition at line 87 of file class.ilPluginSlot.php.
Referenced by getActivePlugins(), getPluginsInformation(), getPrefix(), and read().
ilPluginSlot::getPluginClassFileName | ( | $a_plugin_name | ) |
Get Class File name for plugin.
Definition at line 186 of file class.ilPluginSlot.php.
References getPluginsDirectory().
Referenced by checkClassFileAvailability().
ilPluginSlot::getPluginPhpFileName | ( | $a_plugin_name | ) |
Get File name for plugin.php.
Definition at line 164 of file class.ilPluginSlot.php.
References getPluginsDirectory().
Referenced by checkPluginPhpFileAvailability().
ilPluginSlot::getPluginsDirectory | ( | ) |
Get directory of.
Definition at line 155 of file class.ilPluginSlot.php.
References getSlotName().
Referenced by getPluginClassFileName(), getPluginPhpFileName(), and getPluginsInformation().
ilPluginSlot::getPluginsInformation | ( | ) |
Get information an all plugins and their status.
Definition at line 224 of file class.ilPluginSlot.php.
References $dir, $file, checkClassFileAvailability(), checkPluginPhpFileAvailability(), getComponentName(), getComponentType(), getPluginsDirectory(), getSlotId(), and ilPlugin\lookupStoredData().
ilPluginSlot::getPrefix | ( | ) |
Get slot prefix, used for lang vars and db tables.
Needs plugin id appended.
Definition at line 209 of file class.ilPluginSlot.php.
References getComponentName(), getComponentType(), getSlotId(), and ilComponent\lookupId().
ilPluginSlot::getSlotId | ( | ) |
Get Slot ID.
Definition at line 127 of file class.ilPluginSlot.php.
Referenced by getActivePlugins(), getPluginsInformation(), getPrefix(), and read().
ilPluginSlot::getSlotName | ( | ) |
Get Slot Name.
Definition at line 147 of file class.ilPluginSlot.php.
Referenced by getPluginsDirectory().
ilPluginSlot::lookupSlotId | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_name | |||
) |
Lookup slot ID for component and slot name.
Definition at line 282 of file class.ilPluginSlot.php.
References DB_FETCHMODE_ASSOC.
ilPluginSlot::lookupSlotName | ( | $a_ctype, | |
$a_cname, | |||
$a_slot_id | |||
) |
Lookup slot name for component and slot id.
Definition at line 297 of file class.ilPluginSlot.php.
References DB_FETCHMODE_ASSOC.
Referenced by ilPluginsTableGUI\fillRow(), ilPluginAdmin\getPluginData(), ilPlugin\getPluginObject(), and ilPluginDBUpdate\ilPluginDBUpdate().
ilPluginSlot::read | ( | ) |
Read properties from DB.
Definition at line 60 of file class.ilPluginSlot.php.
References DB_FETCHMODE_ASSOC, getComponentName(), getComponentType(), getSlotId(), and setSlotName().
Referenced by __construct().
ilPluginSlot::setComponentName | ( | $a_componentname | ) |
Set Component Name.
string | $a_componentname | Component Name |
Definition at line 97 of file class.ilPluginSlot.php.
Referenced by __construct().
ilPluginSlot::setComponentType | ( | $a_componenttype | ) |
Set Component Type.
string | $a_componenttype | Component Type |
Definition at line 77 of file class.ilPluginSlot.php.
Referenced by __construct().
ilPluginSlot::setSlotId | ( | $a_slotid | ) |
Set Slot ID.
string | $a_slotid | Slot ID |
Definition at line 117 of file class.ilPluginSlot.php.
Referenced by __construct().
ilPluginSlot::setSlotName | ( | $a_slotname | ) |
Set Slot Name.
string | $a_slotname | Slot Name |
Definition at line 137 of file class.ilPluginSlot.php.
Referenced by read().