|
Stud.IP
3.4 Revision
|


Data Fields | |
| $id | |
| $overview | |
| $changeindicatoriconname | |
Data Fields inherited from AbstractStudIPLegacyPlugin | |
| $pluginid | |
| $pluginname | |
| $pluginpath | |
| $basepluginpath | |
| $navposition | |
| $dependentonplugin | |
| $navigation | |
| $pluginiconname | |
| $user | |
Additional Inherited Members | |
Static Public Member Functions inherited from AbstractStudIPLegacyPlugin | |
| static | getDescription () |
Static Public Member Functions inherited from StudIPPlugin | |
| static | onEnable ($pluginId) |
| static | onDisable ($pluginId) |
Protected Member Functions inherited from StudIPPlugin | |
| addStylesheet ($filename, $variables=[], $link_attr=[]) | |
Protected Attributes inherited from StudIPPlugin | |
| $plugin_info | |
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
| deactivationWarning | ( | $context | ) |
Return a warning message to be printed before deactivation of this plugin in the given context.
| $context | context range id |
Reimplemented from StudIPPlugin.

| display_action | ( | $action | ) |
This method sets everything up to perform the given action and displays the results or anything you want to.
| string | the name of the action to accomplish |
Reimplemented from AbstractStudIPLegacyPlugin.
| getChangeindicatoriconname | ( | ) |
Getter- und Setter für die Attribute


| getIconNavigation | ( | $course_id, | |
| $last_visit, | |||
| $user_id | |||
| ) |
Return a navigation object representing this plugin in the course overview table or return NULL if you want to display no icon for this plugin (or course). The navigation object's title will not be shown, only the image (and its associated attributes like 'title') and the URL are actually used.
By convention, new or changed plugin content is indicated by a different icon and a corresponding tooltip.
| string | course or institute range id |
| int | time of user's last visit |
Implements StudipModule.

| getId | ( | ) |
Return current course id - deprecated, do not use.
| getInfoTemplate | ( | $course_id | ) |
Return a template (an instance of the Flexi_Template class) to be rendered on the course summary page. Return NULL to render nothing for this plugin.
Implements StandardPlugin.
| getNotificationObjects | ( | $course_id, | |
| $since, | |||
| $user_id | |||
| ) |
return a list of ContentElement-objects, conatinging everything new in this module
| string | $course_id | the course-id to get the new stuff for |
| int | $last_visit | when was the last time the user visited this module |
| string | $user_id | the user to get the notifcation-objects for |
Implements StudipModule.
| getOverviewMessage | ( | $has_changed = false | ) |
Nachricht für tooltip in der Übersicht
| has_changed | - hat sich etwas geändert? |


| getPluginExistingItems | ( | $course_id | ) |
Gehen beim Deaktivieren des Plugins Daten verloren?

| getScore | ( | ) |
returns the score which the current user get's for activities in this plugin
| getTabNavigation | ( | $course_id | ) |
Return an array of navigation objects representing this plugin in the course (or institute) navigation or return NULL if you do not want any navigation for this plugin. The array key is used as the name in the navigation tree (subelement of "/course").
| string | $course_id | course or institute range id |
Implements StudipModule.


| hasChanged | ( | $lastlogin | ) |
Hat sich seit dem letzten Login etwas geändert?
| lastlogin | - letzter Loginzeitpunkt des Benutzers |

| isActivated | ( | $context = NULL | ) |
Get the activation status of this plugin in the given context. This also checks the plugin default activations.
| $context | context range id |
| isShownInOverview | ( | ) |
Wird dieses Plugin in der Übersicht angezeigt?

| setActivated | ( | $value | ) |
Sets the activation status of this plugin.
| boolean | plugin status (true or false) |
Reimplemented from AbstractStudIPLegacyPlugin.

| setChangeindicatoriconname | ( | $icon | ) |
| setId | ( | $id | ) |
Set the current course id - deprecated, do not use.

| setNavigation | ( | StudipPluginNavigation | $navigation | ) |
| setShownInOverview | ( | $value = true | ) |
| $changeindicatoriconname |
| $id |
| $overview |