Moodle  2.2.1
http://www.collinsharper.com
workshop_user_plan Class Reference
Inheritance diagram for workshop_user_plan:
Collaboration diagram for workshop_user_plan:

Public Member Functions

 __construct (workshop $workshop, $userid)
 get_examples ()

Data Fields

 $userid
 $workshop
 $phases = array()

Protected Attributes

 $examples = null

Detailed Description

Represents the user planner tool

Planner contains list of phases. Each phase contains list of tasks. Task is a simple object with title, link and completed (true/false/null logic).

Definition at line 2156 of file locallib.php.


Constructor & Destructor Documentation

__construct ( workshop workshop,
userid 
)

Prepare an individual workshop plan for the given user.

Parameters:
workshop$workshopinstance
int$useridwhom the plan is prepared for

Definition at line 2173 of file locallib.php.

Here is the call graph for this function:


Member Function Documentation

Returns example submissions to be assessed by the owner of the planner

This is here to cache the DB query because the same list is needed later in view.php

See also:
workshop::get_examples_for_reviewer() for the format of returned value
Returns:
array

Definition at line 2541 of file locallib.php.

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

$examples = null [protected]

Definition at line 2165 of file locallib.php.

$phases = array()

Definition at line 2163 of file locallib.php.

Definition at line 2159 of file locallib.php.

Definition at line 2161 of file locallib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations