See Release Notes
Long Term Support Release
1 <?php 2 3 // This file is part of Moodle - http://moodle.org/ 4 // 5 // Moodle is free software: you can redistribute it and/or modify 6 // it under the terms of the GNU General Public License as published by 7 // the Free Software Foundation, either version 3 of the License, or 8 // (at your option) any later version. 9 // 10 // Moodle is distributed in the hope that it will be useful, 11 // but WITHOUT ANY WARRANTY; without even the implied warranty of 12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 // GNU General Public License for more details. 14 // 15 // You should have received a copy of the GNU General Public License 16 // along with Moodle. If not, see <http://www.gnu.org/licenses/>. 17 18 /** 19 * uploadlib.php - This class handles all aspects of fileuploading 20 * 21 * @package core 22 * @subpackage file 23 * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} 24 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 25 */ 26 27 defined('MOODLE_INTERNAL') || die(); 28 29 /** 30 * This class handles all aspects of fileuploading 31 * 32 * @deprecated since 2.7 - use new file pickers instead 33 * 34 * @package moodlecore 35 * @copyright 1999 onwards Martin Dougiamas {@link http://moodle.com} 36 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later 37 */ 38 class upload_manager { 39 40 /** 41 * Constructor, sets up configuration stuff so we know how to act. 42 * 43 * Note: destination not taken as parameter as some modules want to use the insertid in the path and we need to check the other stuff first. 44 * 45 * @deprecated since 2.7 - use new file pickers instead 46 * 47 */ 48 function __construct($inputname='', $deleteothers=false, $handlecollisions=false, $course=null, $recoverifmultiple=false, $modbytes=0, $silent=false, $allownull=false, $allownullmultiple=true) { 49 throw new coding_exception('upload_manager class can not be used any more, please use file picker instead'); 50 } 51 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body