Class sloodle_view_user

Description

Class for rendering a view of SLOODLE user information.

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

sloodle_base_view
   |
   --sloodle_view_user
Variable Summary
Method Summary
 sloodle_view_user sloodle_view_user ()
 void print_footer ()
 void print_header ()
 void process_request ()
 void render ()
Variables
bool $canedit = false (line 112)

Can the user edit the data they are viewing?

  • access: private
object $course = 0 (line 40)

The VLE course object, retrieved directly from database.

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

Integer ID of the course which is being accessed.

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

Moodle permissions context for the current course.

  • access: private
integer $deletesloodleentry = null (line 63)

Integer ID of a SLOODLE user entry to delete, where supplied by request parameter.

Null or 0 indicates nothing is to be deleted.

  • access: private
string $deleteuserobjects = null (line 84)

List of user objects to be deleted (stored as a string, retrieved from request parameters).

  • access: private
integer $moodleuserid = null (line 55)

Integer ID of the Moodle user being viewed.

Supplied by request parameter.

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

The search string for users where appropriate.

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

SLOODLE course object, retrieved directly from database.

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

The result number to start displaying from

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

Moodle permissions context for the system.

  • access: private
string $userconfirmed = null (line 70)

Indicates a confirmation for certain actions, such as deletion, supplied by request parameter.

  • access: private
bool $viewingself = false (line 105)

Is the user viewing their own profile?

  • access: private
Methods
Constructor sloodle_view_user (line 125)

Constructor.

sloodle_view_user sloodle_view_user ()
check_permission (line 156)

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 679)

Print the page footer.

void print_footer ()

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

Print the course settings page header.

void print_header ()

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

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 207)

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:40 +0100 by phpDocumentor 1.4.0