Go to the source code of this file.
Enumeration Type Documentation
LABEL_MAX_NAME_LENGTH = 50
Definition at line 30 of file lib.php.
Function Documentation
LABEL_MAX_NAME_LENGTH
- Parameters:
-
- Returns:
- string
Definition at line 37 of file lib.php.
Given an object containing all the necessary data, (defined by the form in mod_form.php) this function will create a new instance and return the id number of the new instance.
object
- Parameters:
-
- Returns:
- bool|int
Definition at line 62 of file lib.php.
Given an ID of an instance of this module, this function will permanently delete the instance and any data that depends on it.
object
- Parameters:
-
- Returns:
- bool
Definition at line 99 of file lib.php.
Given a course_module object, this function returns any "extra" information that may be needed when printing this activity in a course listing. See get_array_of_activities() in course/lib.php
object
- Parameters:
-
- Returns:
- object|null
Definition at line 138 of file lib.php.
Returns all other caps used in module
- Returns:
- array
Definition at line 186 of file lib.php.
Returns the users with data in one resource (NONE, but must exist on EVERY mod !!)
- Todo:
- : deprecated - to be deleted in 2.2
- Parameters:
-
Definition at line 123 of file lib.php.
- Returns:
- array
Definition at line 167 of file lib.php.
- Returns:
- array
Definition at line 160 of file lib.php.
This function is used by the reset_course_userdata function in moodlelib.
- Parameters:
-
| object | $data | the data submitted from the reset course. |
- Returns:
- array status array
Definition at line 177 of file lib.php.
FEATURE_IDNUMBER FEATURE_GROUPS FEATURE_GROUPINGS FEATURE_GROUPMEMBERSONLY FEATURE_MOD_INTRO FEATURE_COMPLETION_TRACKS_VIEWS FEATURE_GRADE_HAS_GRADE FEATURE_GRADE_OUTCOMES
- Parameters:
-
| string | $feature | FEATURE_xx constant for requested feature |
- Returns:
- bool|null True if module supports feature, false if not, null if doesn't know
Definition at line 202 of file lib.php.
Given an object containing all the necessary data, (defined by the form in mod_form.php) this function will update an existing instance with new data.
object
- Parameters:
-
- Returns:
- bool
Definition at line 80 of file lib.php.