|
@ -1,16 +1,28 @@ |
|
|
<?php |
|
|
<?php |
|
|
|
|
|
// This file is part of Moodle - http://moodle.org/ |
|
|
|
|
|
// |
|
|
|
|
|
// Moodle is free software: you can redistribute it and/or modify |
|
|
|
|
|
// it under the terms of the GNU General Public License as published by |
|
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or |
|
|
|
|
|
// (at your option) any later version. |
|
|
|
|
|
// |
|
|
|
|
|
// Moodle is distributed in the hope that it will be useful, |
|
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
|
|
|
// GNU General Public License for more details. |
|
|
|
|
|
// |
|
|
|
|
|
// You should have received a copy of the GNU General Public License |
|
|
|
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* ************************************************************************* |
|
|
* @package enrol_apply |
|
|
* * Apply Enrol ** |
|
|
* @copyright emeneo.com (http://emeneo.com/) |
|
|
* ************************************************************************* |
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
|
|
* @copyright emeneo.com ** |
|
|
* @author emeneo.com (http://emeneo.com/) |
|
|
* @link emeneo.com ** |
|
|
* @author Johannes Burk <johannes.burk@sudile.com> |
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later ** |
|
|
|
|
|
* ************************************************************************* |
|
|
|
|
|
* ************************************************************************ |
|
|
|
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
/** User participation in course is suspended (used in user_enrolments->status) */ |
|
|
/** The user is put onto a waiting list and therefore the enrolment not active (used in user_enrolments->status) */ |
|
|
define('ENROL_APPLY_USER_WAIT', 2); |
|
|
define('ENROL_APPLY_USER_WAIT', 2); |
|
|
|
|
|
|
|
|
class enrol_apply_plugin extends enrol_plugin { |
|
|
class enrol_apply_plugin extends enrol_plugin { |
|
|