ILIAS
Release_4_1_x_branch Revision 61804
|
This class describes plugin. More...
Public Member Functions | |
ilParagraphPlugin ($directory, $title, $filetype, $link, $description="", $active=FALSE) | |
create paragraph plugin instance | |
serializeToString () | |
returns a string representation used to active a plugin in page.xsl | |
setTitle ($title) | |
set title of plugin used within alt tag of image replaces |,# sign with _ | |
setLink ($link) | |
set link of plugin relativ to plugin url replaces |,# sign with _ | |
setImage ($image) | |
set image link relative to plugin url replaces |,# sign with _ | |
setFileType ($filetype) | |
set filetype of plugin to determine for which paragraph it will be activated replaces |,# sign with _ | |
getTitle () | |
getPluginDir () | |
getTemplateDir () | |
getTemplateURL () | |
getClassDir () | |
getResourceDir () | |
getResourceURL () | |
getPluginURL () | |
getSystemURL () | |
isActive () | |
setActive ($bool) | |
sets active to value bool | |
setDescription ($description) | |
set plugin description | |
getDescription () | |
returns description of plugin | |
getDirectory () | |
returns plugin directory name |
Data Fields | |
$properties | |
all plugin properties are stored in a associative array to be processed very easy Properties: filetype, title, link and image | |
$directory | |
$description | |
$active | |
switch, which activates the plugin, defaults to false |
This class describes plugin.
– content – plugins – classes (contains helpful classes like this) – plugin1 (plugin with name "plugin1") – classes (classes needed for plugin) – ressources (bin ressources for plugin, jars etc...) – templates (ilias templates, etc.)
Definition at line 39 of file class.ilParagraphPlugin.php.
ilParagraphPlugin::getClassDir | ( | ) |
Definition at line 169 of file class.ilParagraphPlugin.php.
References getPluginDir().
ilParagraphPlugin::getDescription | ( | ) |
returns description of plugin
Definition at line 233 of file class.ilParagraphPlugin.php.
References $description.
ilParagraphPlugin::getDirectory | ( | ) |
returns plugin directory name
Definition at line 242 of file class.ilParagraphPlugin.php.
References $directory.
ilParagraphPlugin::getPluginDir | ( | ) |
Definition at line 147 of file class.ilParagraphPlugin.php.
References $directory, and ILIAS_ABSOLUTE_PATH.
Referenced by getClassDir(), getResourceDir(), and getTemplateDir().
ilParagraphPlugin::getPluginURL | ( | ) |
Definition at line 192 of file class.ilParagraphPlugin.php.
References $directory, and getSystemURL().
Referenced by getTemplateURL(), and setLink().
ilParagraphPlugin::getResourceDir | ( | ) |
Definition at line 177 of file class.ilParagraphPlugin.php.
References getPluginDir().
ilParagraphPlugin::getResourceURL | ( | ) |
Definition at line 185 of file class.ilParagraphPlugin.php.
References getSystemURL().
ilParagraphPlugin::getSystemURL | ( | ) |
Definition at line 200 of file class.ilParagraphPlugin.php.
Referenced by getPluginURL(), and getResourceURL().
ilParagraphPlugin::getTemplateDir | ( | ) |
Definition at line 154 of file class.ilParagraphPlugin.php.
References getPluginDir().
ilParagraphPlugin::getTemplateURL | ( | ) |
Definition at line 163 of file class.ilParagraphPlugin.php.
References getPluginURL().
Referenced by setImage().
ilParagraphPlugin::getTitle | ( | ) |
Definition at line 140 of file class.ilParagraphPlugin.php.
ilParagraphPlugin::ilParagraphPlugin | ( | $directory, | |
$title, | |||
$filetype, | |||
$link, | |||
$description = "" , |
|||
$active = FALSE |
|||
) |
create paragraph plugin instance
string | $directory | relative sub directory name, e.g. edit |
string | $title | title of plugin |
string | $filetype | filetype to which the plugin will be applied |
string | $link | link which to start when clicking on plugin |
string | $description | plugin description |
boolean | $active | activate plugin or not |
Definition at line 76 of file class.ilParagraphPlugin.php.
References $active, $description, $directory, $title, setActive(), setDescription(), setFileType(), setLink(), and setTitle().
ilParagraphPlugin::isActive | ( | ) |
Definition at line 207 of file class.ilParagraphPlugin.php.
References $active.
ilParagraphPlugin::serializeToString | ( | ) |
returns a string representation used to active a plugin in page.xsl
all properties separatad by #
Definition at line 95 of file class.ilParagraphPlugin.php.
ilParagraphPlugin::setActive | ( | $bool | ) |
sets active to value bool
boolean | sets active |
Definition at line 215 of file class.ilParagraphPlugin.php.
Referenced by ilParagraphPlugin().
ilParagraphPlugin::setDescription | ( | $description | ) |
set plugin description
string | $description |
Definition at line 224 of file class.ilParagraphPlugin.php.
References $description.
Referenced by ilParagraphPlugin().
ilParagraphPlugin::setFileType | ( | $filetype | ) |
set filetype of plugin to determine for which paragraph it will be activated replaces |,# sign with _
Definition at line 131 of file class.ilParagraphPlugin.php.
Referenced by ilParagraphPlugin().
ilParagraphPlugin::setImage | ( | $image | ) |
set image link relative to plugin url replaces |,# sign with _
Definition at line 122 of file class.ilParagraphPlugin.php.
References getTemplateURL().
ilParagraphPlugin::setLink | ( | $link | ) |
set link of plugin relativ to plugin url replaces |,# sign with _
Definition at line 113 of file class.ilParagraphPlugin.php.
References getPluginURL().
Referenced by ilParagraphPlugin().
ilParagraphPlugin::setTitle | ( | $title | ) |
set title of plugin used within alt tag of image replaces |,# sign with _
Definition at line 104 of file class.ilParagraphPlugin.php.
References $title.
Referenced by ilParagraphPlugin().
ilParagraphPlugin::$active |
switch, which activates the plugin, defaults to false
Definition at line 62 of file class.ilParagraphPlugin.php.
Referenced by ilParagraphPlugin(), and isActive().
ilParagraphPlugin::$description |
Definition at line 57 of file class.ilParagraphPlugin.php.
Referenced by getDescription(), ilParagraphPlugin(), and setDescription().
ilParagraphPlugin::$directory |
Definition at line 50 of file class.ilParagraphPlugin.php.
Referenced by getDirectory(), getPluginDir(), getPluginURL(), and ilParagraphPlugin().
ilParagraphPlugin::$properties |
all plugin properties are stored in a associative array to be processed very easy Properties: filetype, title, link and image
Definition at line 45 of file class.ilParagraphPlugin.php.