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


Public Member Functions | |
| __construct ($browser, $context, $course, $cm, $modname) | |
| get_file_info ($component, $filearea, $itemid, $filepath, $filename) | |
| get_visible_name () | |
| is_writable () | |
| is_empty_area () | |
| is_directory () | |
| get_children () | |
| get_parent () | |
Protected Member Functions | |
| get_area_intro ($itemid, $filepath, $filename) | |
| get_area_backup ($itemid, $filepath, $filename) | |
Protected Attributes | |
| $course | |
| $cm | |
| $modname | |
| $areas | |
Definition at line 38 of file file_info_context_module.php.
| __construct | ( | $ | browser, |
| $ | context, | ||
| $ | course, | ||
| $ | cm, | ||
| $ | modname | ||
| ) |
Definition at line 44 of file file_info_context_module.php.
| get_area_backup | ( | $ | itemid, |
| $ | filepath, | ||
| $ | filename | ||
| ) | [protected] |
Definition at line 146 of file file_info_context_module.php.


| get_area_intro | ( | $ | itemid, |
| $ | filepath, | ||
| $ | filename | ||
| ) | [protected] |
Definition at line 122 of file file_info_context_module.php.


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

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


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

| get_visible_name | ( | ) |
Returns localised visible name.
Reimplemented from file_info.
Definition at line 177 of file file_info_context_module.php.
| is_directory | ( | ) |
Is directory?
Reimplemented from file_info.
Definition at line 221 of file file_info_context_module.php.
| is_empty_area | ( | ) |
Is this empty area?
Reimplemented from file_info.
Definition at line 194 of file file_info_context_module.php.

| is_writable | ( | ) |
Can I add new files or directories?
Reimplemented from file_info.
Definition at line 185 of file file_info_context_module.php.
$areas [protected] |
Definition at line 42 of file file_info_context_module.php.
$cm [protected] |
Definition at line 40 of file file_info_context_module.php.
$course [protected] |
Definition at line 39 of file file_info_context_module.php.
$modname [protected] |
Definition at line 41 of file file_info_context_module.php.