mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
MDL-30973 Files API: Whitespace fixes
This commit is contained in:
parent
5d7bbc22dc
commit
4ab641eeaa
@ -92,7 +92,7 @@ class file_info_context_course extends file_info {
|
||||
* @param int $itemid item ID
|
||||
* @param string $filepath file path
|
||||
* @param string $filename file name
|
||||
* @return file_info|null file_info instance or null if not found or access not allowed
|
||||
* @return file_info|null file_info instance or null if not found or access not allowed
|
||||
*/
|
||||
protected function get_area_course_summary($itemid, $filepath, $filename) {
|
||||
global $CFG;
|
||||
@ -126,7 +126,7 @@ class file_info_context_course extends file_info {
|
||||
* @param int $itemid item ID
|
||||
* @param string $filepath file path
|
||||
* @param string $filename file name
|
||||
* @return file_info|null file_info instance or null if not found or access not allowed
|
||||
* @return file_info|null file_info instance or null if not found or access not allowed
|
||||
*/
|
||||
protected function get_area_course_section($itemid, $filepath, $filename) {
|
||||
global $CFG, $DB;
|
||||
@ -166,7 +166,7 @@ class file_info_context_course extends file_info {
|
||||
* @param int $itemid item ID
|
||||
* @param string $filepath file path
|
||||
* @param string $filename file name
|
||||
* @return file_info|null file_info instance or null if not found or access not allowed
|
||||
* @return file_info|null file_info instance or null if not found or access not allowed
|
||||
*/
|
||||
protected function get_area_course_legacy($itemid, $filepath, $filename) {
|
||||
if (!has_capability('moodle/course:managefiles', $this->context)) {
|
||||
@ -203,7 +203,7 @@ class file_info_context_course extends file_info {
|
||||
* @param int $itemid item ID
|
||||
* @param string $filepath file path
|
||||
* @param string $filename file name
|
||||
* @return file_info|null file_info instance or null if not found or access not allowed
|
||||
* @return file_info|null file_info instance or null if not found or access not allowed
|
||||
*/
|
||||
protected function get_area_backup_course($itemid, $filepath, $filename) {
|
||||
global $CFG;
|
||||
@ -279,7 +279,7 @@ class file_info_context_course extends file_info {
|
||||
* @param int $itemid item ID
|
||||
* @param string $filepath file path
|
||||
* @param string $filename file name
|
||||
* @return file_info|null file_info instance or null if not found or access not allowed
|
||||
* @return file_info|null file_info instance or null if not found or access not allowed
|
||||
*/
|
||||
protected function get_area_backup_section($itemid, $filepath, $filename) {
|
||||
global $CFG, $DB;
|
||||
|
@ -163,7 +163,7 @@ class file_info_context_user extends file_info {
|
||||
}
|
||||
}
|
||||
$urlbase = $CFG->wwwroot.'/pluginfile.php';
|
||||
return new file_info_stored($this->browser, $this->context, $storedfile, $urlbase,
|
||||
return new file_info_stored($this->browser, $this->context, $storedfile, $urlbase,
|
||||
get_string('areauserprofile', 'repository'), false, $readaccess, $writeaccess, false);
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ class file_exception extends moodle_exception {
|
||||
class stored_file_creation_exception extends file_exception {
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
*
|
||||
* @param int $contextid context ID
|
||||
* @param string $component component
|
||||
* @param string $filearea file area
|
||||
|
@ -288,7 +288,7 @@ function folder_get_file_info($browser, $areas, $course, $cm, $context, $fileare
|
||||
* @package mod_folder
|
||||
* @category files
|
||||
* @param stdClass $course course object
|
||||
* @param stdClass $cm course module
|
||||
* @param stdClass $cm course module
|
||||
* @param stdClass $context context object
|
||||
* @param string $filearea file area
|
||||
* @param array $args extra arguments
|
||||
|
@ -33,7 +33,7 @@ defined('MOODLE_INTERNAL') || die();
|
||||
* @category files
|
||||
* @param stdClass $course course object
|
||||
* @param stdClass $cm course module object
|
||||
* @param stdClass $context context object
|
||||
* @param stdClass $context context object
|
||||
* @param string $filearea file area
|
||||
* @param array $args extra arguments
|
||||
* @param bool $forcedownload whether or not force download
|
||||
|
Loading…
x
Reference in New Issue
Block a user