MDL-30973 Files API: Whitespace fixes

This commit is contained in:
Eloy Lafuente (stronk7) 2012-03-01 00:56:23 +01:00
parent 5d7bbc22dc
commit 4ab641eeaa
5 changed files with 9 additions and 9 deletions

View File

@ -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;

View File

@ -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);
}

View File

@ -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

View File

@ -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

View File

@ -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