Stud.IP  5.4
 All Data Structures Namespaces Files Functions Variables Groups
AdminCourseContents Interface Reference

Public Member Functions

 adminAvailableContents ()
 adminAreaGetCourseContent ($course, $index)

Detailed Description

Interface AdminCourseContents With this interface a plugin is able to add columns to the course-overview table for admins and roots.

Member Function Documentation

adminAreaGetCourseContent (   $course,

Returns the value of the additional column for the course-overview table in the admin-area.

Course$course: A Course-object of the given ... course
string$index: the index that comes from adminAvailableContents to identify the column.
Flexi_Template | String : Either one will do, but string is preferred, because it can exported as CSV-file more easily.
adminAvailableContents ( )

The available columns for the course-overview table for admins. Index is the identifier of the column for the method adminAreaGetCourseContent. The value is the display name of the column.

array : an associative array like array('index' => _("Translated display name"))

The documentation for this interface was generated from the following file: