claroline/claroline/inc/lib/course_utils.lib.php File Reference

Go to the source code of this file.

Namespaces

namespace  CLCRS

Functions

 get_course_title ($cid)
 get_info_course ($cid)
 claro_get_course_name ($cid=NULL)
 claro_get_course_officialCode ($cid=NULL)
 get_course_tool_list ($cid)

Function Documentation

claro_get_course_name ( cid = NULL  ) 

Get the name of a course.

Parameters:
string $course_id (optionnal) If not set, it use the current course will be taken.
Returns:
string path
Author:
Christophe Gesch� <moosh@claroline.net>
Since:
1.7

Definition at line 79 of file course_utils.lib.php.

claro_get_course_officialCode ( cid = NULL  ) 

Get the official code of a course.

Parameters:
string $course_id (optionnal) If not set, it use the current course will be taken.
Returns:
string path
Author:
Christophe Gesch� <moosh@claroline.net>
Since:
1.7

Definition at line 96 of file course_utils.lib.php.

get_course_title ( cid  ) 

return the title of a course

Parameters:
$course_sys_code id of a course
Returns:
string a string with the title of the course
Todo:
replace content of this function with claro_get_course_officialCode and claro_get_course_name

Definition at line 26 of file course_utils.lib.php.

get_course_tool_list ( cid  ) 

return all info of tool for a course

Parameters:
$cid the id of a course
Returns:
array (array) an associative array containing all info of tool for a course

Definition at line 110 of file course_utils.lib.php.

get_info_course ( cid  ) 

return all info of a course

Parameters:
$cid the id of a course
Returns:
array (array) an associative array containing all info of the course
Todo:
use claro_get_course_data

all groups of these course ( theses properies are from the link between course and group,

Definition at line 41 of file course_utils.lib.php.

Generated on Tue Jun 8 12:28:37 2010 for Claroline API by  doxygen 1.6.3