ILIAS
release_4-3 Revision
|
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 33 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 76 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 54 of file class.ilParagraphPlugins.php.
References ILIAS_ABSOLUTE_PATH.
ilParagraphPlugins::initialize | ( | ) |
parses plugin subdirectory to determine registered plugins
Definition at line 111 of file class.ilParagraphPlugins.php.
References $title, getTextContent(), isRegistered(), and registerPlugin().
ilParagraphPlugins::isRegistered | ( | $pluginClassname | ) |
Definition at line 93 of file class.ilParagraphPlugins.php.
Referenced by initialize().
ilParagraphPlugins::registerPlugin | ( | $plugin | ) |
register plugin
Definition at line 87 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 104 of file class.ilParagraphPlugins.php.
ilParagraphPlugins::$pluginDirectory |
contains the plugins directory
Definition at line 43 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 38 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 49 of file class.ilParagraphPlugins.php.