Go to the source code of this file.
Namespaces | |
| namespace | COURSE |
Functions | |
| delete_directory ($dir) | |
| create_select_box_language ($selected=NULL) | |
| language_exists () | |
| build_editable_cat_table ($selectedCat=null, $separator=">") | |
| claro_get_cat_list () | |
| claro_get_cat_flat_list ($separator= ' > ') | |
| get_full_path ($categories, $catcode=NULL, $separator= ' > ') | |
| claro_get_lang_flat_list () | |
| claro_get_course_manager_id ($cid=NULL) | |
| build_editable_cat_table | ( | $ | selectedCat = null, |
|
| $ | separator = ">" | |||
| ) |
build the <option> element with categories where we can create/have courses
| the | code of the preselected categorie | |
| the | separator used between a cat and its paretn cat to display in the <select> |
Definition at line 120 of file course.lib.inc.php.
| claro_get_cat_flat_list | ( | $ | separator = ', |
|
| ' | ||||
| ) |
Definition at line 188 of file course.lib.inc.php.
| claro_get_cat_list | ( | ) |
build the <option> element with categories where we can create/have courses
| the | code of the preselected categorie | |
| the | separator used between a cat and its paretn cat to display in the <select> |
Definition at line 175 of file course.lib.inc.php.
| claro_get_course_manager_id | ( | $ | cid = NULL |
) |
return all manager id of a course
| string | $cid course id |
Definition at line 298 of file course.lib.inc.php.
| claro_get_lang_flat_list | ( | ) |
Definition at line 271 of file course.lib.inc.php.
| create_select_box_language | ( | $ | selected = NULL |
) |
Create a command to create a selectBox with the language
| string | $selected the language selected |
Definition at line 57 of file course.lib.inc.php.
| delete_directory | ( | $ | dir | ) |
Delete a directory
| string | $dir the directory deleting |
Definition at line 27 of file course.lib.inc.php.
| get_full_path | ( | $ | categories, | |
| $ | catcode = NULL, |
|||
| $ | separator = ', |
|||
| ' | ||||
| ) |
Recursive function to get the full categories path of a specified categorie
| table | of all the categories, 2 dimension tables, first dimension for cat codes, second for names, parent's cat code. | |
| $catcode | string the categorie we want to have its full path from root categorie | |
| $separator | string |
Definition at line 233 of file course.lib.inc.php.
| language_exists | ( | ) |
Return an array with the language
Definition at line 83 of file course.lib.inc.php.
1.6.3