Class sloodle_view_users

Description

Class for rendering a view of SLOODLE users.

Located in /view/users.php (line 26)

sloodle_base_view
   |
   --sloodle_view_users
Variable Summary
 object $course
 integer $courseid
 string $courseurl
 string $searchstr
 integer $start
Method Summary
 sloodle_view_users sloodle_view_users ()
 void print_footer ()
 void print_header ()
 void process_request ()
 void render ()
Variables
object $course = 0 (line 40)

The VLE course object, retrieved directly from database.

  • access: private
string $coursefullname = '' (line 96)

Full name of the current course.

  • access: private
integer $courseid = 0 (line 33)

Integer ID of the course which is being accessed.

  • access: private
string $courseshortname = '' (line 89)

Short name of the current course.

  • access: private
string $courseurl = '' (line 82)

URL for accessing the current course.

  • access: private
object $course_context = null (line 61)

Moodle permissions context for the current course.

  • access: private
string $searchstr = '' (line 54)

The search string for users where appropriate.

  • access: private
bool $sloodleonly = true (line 75)

Indicates if we should only show users who have avatars. Fetched from request parameters where given.

  • access: private
object $sloodle_course = null (line 47)

SLOODLE course object, retrieved directly from database.

  • access: private
integer $start = 0 (line 103)

The result number to start displaying from

  • access: private
object $system_context = null (line 68)

Moodle permissions context for the system.

  • access: private
Methods
Constructor sloodle_view_users (line 109)

Constructor.

sloodle_view_users sloodle_view_users ()
check_permission (line 141)

Check that the user is logged-in and has permission to alter course settings.

void check_permission ()

Redefinition of:
sloodle_base_view::check_permission()
Check that the user has permission to access the current resources.
print_footer (line 415)

Print the page footer.

void print_footer ()

Redefinition of:
sloodle_base_view::print_footer()
Output the page footer.
print_header (line 161)

Print the course settings page header.

void print_header ()

Redefinition of:
sloodle_base_view::print_header()
Print the standard page header.
process_request (line 116)

Check and process the request parameters.

void process_request ()

Redefinition of:
sloodle_base_view::process_request()
Check for incoming request data identifying a particular course or module.
render (line 173)

Render the view of the module or feature.

This MUST be overridden to provide functionality.

void render ()

Redefinition of:
sloodle_base_view::render()
Render the view of the module or feature.

Inherited Methods

Inherited From sloodle_base_view

 sloodle_base_view::sloodle_base_view()
 sloodle_base_view::check_permission()
 sloodle_base_view::print_footer()
 sloodle_base_view::print_header()
 sloodle_base_view::process_form()
 sloodle_base_view::process_request()
 sloodle_base_view::render()
 sloodle_base_view::view()

Documentation generated on Fri, 17 Jul 2009 11:02:41 +0100 by phpDocumentor 1.4.0