category_browser Class Reference

Public Member Functions

 category_browser ($categoryCode=null, $userId=null)
 get_current_category_settings ()
 get_sub_category_list ()
 get_course_list ()

Detailed Description

Definition at line 18 of file courselist.lib.php.


Member Function Documentation

category_browser ( categoryCode = null,
userId = null 
)

constructor

Parameters:
mixed $categoryCode null or valid category_code
mixed $userId null or valid user_id
Returns:
category_browser object

Definition at line 27 of file courselist.lib.php.

get_course_list (  ) 

Fetch list of courses of the current category

This list include main data about the user but also registration status

Since:
1.8
Returns:
array list of courses of the current category

Definition at line 103 of file courselist.lib.php.

get_current_category_settings (  ) 
Since:
1.8
Returns:
array list of setting of the current category

Definition at line 78 of file courselist.lib.php.

get_sub_category_list (  ) 
Since:
1.8
Returns:
array list of sub category of the current category

Definition at line 88 of file courselist.lib.php.


The documentation for this class was generated from the following file:
Generated on Tue Jun 8 12:28:37 2010 for Claroline API by  doxygen 1.6.3