| [ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
A namespace contains license specific functions
| Copyright: | 2010 Dongsheng Cai <dongsheng@moodle.com> |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 219 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
license_manager:: (7 methods):
add()
get_licenses()
get_license_by_shortname()
enable()
disable()
set_active_licenses()
install_licenses()
Class: license_manager - X-Ref
| add($license) X-Ref |
| Adding a new license type param: object $license { |
| get_licenses($param = null) X-Ref |
| Get license records param: mixed $param return: array |
| get_license_by_shortname($name) X-Ref |
| Get license record by shortname param: mixed $param the shortname of license, or an array return: object |
| enable($license) X-Ref |
| Enable a license param: string $license the shortname of license return: boolean |
| disable($license) X-Ref |
| Disable a license param: string $license the shortname of license return: boolean |
| set_active_licenses() X-Ref |
| Store active licenses in global $CFG |
| install_licenses() X-Ref |
| Install moodle build-in licenses |
| Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |