Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/completionlib.php File Reference

Go to the source code of this file.

Data Structures

class  completion_info

Namespaces

namespace  core
namespace  moodlecore

Enumerations

enum  COMPLETION_ENABLED
enum  COMPLETION_DISABLED
enum  COMPLETION_TRACKING_NONE
enum  COMPLETION_TRACKING_MANUAL
enum  COMPLETION_TRACKING_AUTOMATIC
enum  COMPLETION_INCOMPLETE
enum  COMPLETION_COMPLETE
enum  COMPLETION_COMPLETE_PASS
enum  COMPLETION_COMPLETE_FAIL
enum  COMPLETION_UNKNOWN
enum  COMPLETION_GRADECHANGE
enum  COMPLETION_VIEW_REQUIRED
enum  COMPLETION_VIEW_NOT_REQUIRED
enum  COMPLETION_VIEWED
enum  COMPLETION_NOT_VIEWED
enum  COMPLETION_CACHE_EXPIRY
enum  COMPLETION_OR
enum  COMPLETION_AND
enum  COMPLETION_AGGREGATION_ALL
enum  COMPLETION_AGGREGATION_ANY

Enumeration Type Documentation

Definition at line 102 of file completionlib.php.

Definition at line 103 of file completionlib.php.

Completion details should be ANDed together and you should return true if none apply

Definition at line 99 of file completionlib.php.

Cache expiry time in seconds (10 minutes)

Definition at line 90 of file completionlib.php.

The user has completed this activity. It is not specified whether they have passed or failed it.

Definition at line 58 of file completionlib.php.

The user has completed this activity but their grade is less than the pass mark

Definition at line 62 of file completionlib.php.

The user has completed this activity with a grade above the pass mark.

Definition at line 60 of file completionlib.php.

The completion system is not enabled in this site/course

Definition at line 41 of file completionlib.php.

The completion system is enabled in this site/course

Definition at line 39 of file completionlib.php.

The user's grade has changed, so their new state might be COMPLETION_COMPLETE_PASS or COMPLETION_COMPLETE_FAIL.

Definition at line 71 of file completionlib.php.

The user has not completed this activity.

Definition at line 55 of file completionlib.php.

User has not viewed this activity

Definition at line 85 of file completionlib.php.

Completion details should be ORed together and you should return false if none apply

Definition at line 96 of file completionlib.php.

Automatic completion tracking (system ticks box) is enabled for this activity

Definition at line 50 of file completionlib.php.

Manual completion tracking (user ticks box) is enabled for this activity

Definition at line 48 of file completionlib.php.

Completion tracking is disabled for this activity

Definition at line 46 of file completionlib.php.

The effect of this change to completion status is unknown.

Definition at line 67 of file completionlib.php.

User does not need to view this activity

Definition at line 78 of file completionlib.php.

User must view this activity

Definition at line 76 of file completionlib.php.

User has viewed this activity

Definition at line 83 of file completionlib.php.

 All Data Structures Namespaces Files Functions Variables Enumerations