ILIAS
Release_4_2_x_branch Revision 61807
|
class which contains all registered plugins More...
Public Member Functions | |
ilParagraphPlugins () | |
constructor initializes skip Directories | |
getRegisteredPluginsAsArray () | |
getPluginArray | |
getParagraphPlugin ($pluginDir) | |
get a specific plugin by its directory name (since directories are unique) | |
registerPlugin ($plugin) | |
register plugin | |
isRegistered ($pluginClassname) | |
serializeToString () | |
serializes all plugin to one string format filetype::title::link::image|filetype#title#link#image|... | |
initialize () | |
parses plugin subdirectory to determine registered plugins | |
getTextContent ($a_element, $nodename) | |
get Text content from a child node (unique by name), otherwise first will be taken. |
Data Fields | |
$plugins | |
array which contains an instance of each plugin keys are equal to the serialization string of a plugin | |
$pluginDirectory | |
contains the plugins directory | |
$skipDirectories | |
array which contains all directories which should not be parsed within the plugins directory, by default the sub directories resources, CVS and classes are skipped |
class which contains all registered plugins
Definition at line 34 of file class.ilParagraphPlugins.php.
ilParagraphPlugins::getParagraphPlugin | ( | $pluginDir | ) |
get a specific plugin by its directory name (since directories are unique)
ilParagraphPlugin | $pluginDir |
Definition at line 77 of file class.ilParagraphPlugins.php.
ilParagraphPlugins::getRegisteredPluginsAsArray | ( | ) |
ilParagraphPlugins::getTextContent | ( | $a_element, | |
$nodename | |||
) |
get Text content from a child node (unique by name), otherwise first will be taken.
DOM_ELEMENT | $a_element | |
String | $nodename |
Definition at line 197 of file class.ilParagraphPlugins.php.
Referenced by initialize().
ilParagraphPlugins::ilParagraphPlugins | ( | ) |
constructor initializes skip Directories
Definition at line 55 of file class.ilParagraphPlugins.php.
References ILIAS_ABSOLUTE_PATH.
ilParagraphPlugins::initialize | ( | ) |
parses plugin subdirectory to determine registered plugins
Definition at line 112 of file class.ilParagraphPlugins.php.
References $title, getTextContent(), isRegistered(), and registerPlugin().
ilParagraphPlugins::isRegistered | ( | $pluginClassname | ) |
Definition at line 94 of file class.ilParagraphPlugins.php.
Referenced by initialize().
ilParagraphPlugins::registerPlugin | ( | $plugin | ) |
register plugin
Definition at line 88 of file class.ilParagraphPlugins.php.
Referenced by initialize().
ilParagraphPlugins::serializeToString | ( | ) |
serializes all plugin to one string format filetype::title::link::image|filetype#title#link#image|...
Definition at line 105 of file class.ilParagraphPlugins.php.
ilParagraphPlugins::$pluginDirectory |
contains the plugins directory
Definition at line 44 of file class.ilParagraphPlugins.php.
ilParagraphPlugins::$plugins |
array which contains an instance of each plugin keys are equal to the serialization string of a plugin
Definition at line 39 of file class.ilParagraphPlugins.php.
Referenced by getRegisteredPluginsAsArray().
ilParagraphPlugins::$skipDirectories |
array which contains all directories which should not be parsed within the plugins directory, by default the sub directories resources, CVS and classes are skipped
Definition at line 50 of file class.ilParagraphPlugins.php.