|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($browser, $context, $course) | |
| get_file_info ($component, $filearea, $itemid, $filepath, $filename) | |
| get_visible_name () | |
| is_writable () | |
| is_directory () | |
| get_children () | |
| get_parent () | |
Protected Member Functions | |
| get_area_course_summary ($itemid, $filepath, $filename) | |
| get_area_course_section ($itemid, $filepath, $filename) | |
| get_area_course_legacy ($itemid, $filepath, $filename) | |
| get_area_backup_course ($itemid, $filepath, $filename) | |
| get_area_backup_automated ($itemid, $filepath, $filename) | |
| get_area_backup_section ($itemid, $filepath, $filename) | |
Protected Attributes | |
| $course | |
Definition at line 38 of file file_info_context_course.php.
| __construct | ( | $ | browser, |
| $ | context, | ||
| $ | course | ||
| ) |
Definition at line 41 of file file_info_context_course.php.
| get_area_backup_automated | ( | $ | itemid, |
| $ | filepath, | ||
| $ | filename | ||
| ) | [protected] |
Gets a stored file for the automated backup filearea directory
| int | $itemid | |
| string | $filepath | |
| string | $filename |
Definition at line 210 of file file_info_context_course.php.


| get_area_backup_course | ( | $ | itemid, |
| $ | filepath, | ||
| $ | filename | ||
| ) | [protected] |
Definition at line 172 of file file_info_context_course.php.


| get_area_backup_section | ( | $ | itemid, |
| $ | filepath, | ||
| $ | filename | ||
| ) | [protected] |
Definition at line 240 of file file_info_context_course.php.


| get_area_course_legacy | ( | $ | itemid, |
| $ | filepath, | ||
| $ | filename | ||
| ) | [protected] |
Definition at line 143 of file file_info_context_course.php.


| get_area_course_section | ( | $ | itemid, |
| $ | filepath, | ||
| $ | filename | ||
| ) | [protected] |
Definition at line 110 of file file_info_context_course.php.


| get_area_course_summary | ( | $ | itemid, |
| $ | filepath, | ||
| $ | filename | ||
| ) | [protected] |
Definition at line 83 of file file_info_context_course.php.


| get_children | ( | ) |
Returns list of children.
Reimplemented from file_info.
Definition at line 300 of file file_info_context_course.php.

| get_file_info | ( | $ | component, |
| $ | filearea, | ||
| $ | itemid, | ||
| $ | filepath, | ||
| $ | filename | ||
| ) |
Return information about this specific context level
| $component | |
| $filearea | |
| $itemid | |
| $filepath | |
| $filename |
Definition at line 55 of file file_info_context_course.php.

| get_parent | ( | ) |
Returns parent file_info instance
Reimplemented from file_info.
Definition at line 341 of file file_info_context_course.php.

| get_visible_name | ( | ) |
Returns localised visible name.
Reimplemented from file_info.
Definition at line 276 of file file_info_context_course.php.

| is_directory | ( | ) |
Is directory?
Reimplemented from file_info.
Definition at line 292 of file file_info_context_course.php.
| is_writable | ( | ) |
Can I add new files or directories?
Reimplemented from file_info.
Definition at line 284 of file file_info_context_course.php.
$course [protected] |
Definition at line 39 of file file_info_context_course.php.