File/view/view_controller.php

Description

Defines a function to display information about a particular Sloodle controller module.

Functions
sloodle_view_controller (line 24)

Displays information about the given Sloodle module.

Note: the user should already be logged-in, with information in the $USER global.

  • return: True if successful, or false otherwise (e.g. wrong type of module, or user not logged-in)
bool sloodle_view_controller (object $cm, object $sloodle, [bool $showprotected = false])
  • object $cm: A coursemodule object for the module being displayed
  • object $sloodle: A database record object for a Sloodle instance
  • bool $showprotected: True if protected data (such as prim password) should be made available

Documentation generated on Mon, 07 Jul 2008 12:33:25 +0100 by phpDocumentor 1.4.0