Go to the source code of this file.
Namespaces | |
| namespace | COURSE |
Functions | |
| delete_course ($code) | |
| is_registered_to ($user_id, $course_id) | |
| pr_star_replace ($string) | |
| delete_course | ( | $ | code | ) |
delete a course of the plateform
TODO detect failure with claro_failure
| string | $cid |
Definition at line 47 of file admin.lib.inc.php.
| is_registered_to | ( | $ | user_id, | |
| $ | course_id | |||
| ) |
to know if user is registered to a course or not
| int | id of user in DB | |
| int | id of course in DB |
Definition at line 173 of file admin.lib.inc.php.
| pr_star_replace | ( | $ | string | ) |
Transfrom a key word into a usable key word ina SQL : "*" must be replaced by "%" and "%" by "\%"
| the | string to transform |
Definition at line 192 of file admin.lib.inc.php.
1.6.3