RightProfileToolAction Class Reference

Inheritance diagram for RightProfileToolAction:
RightProfileToolRight RightCourseProfileToolRight

Public Member Functions

 RightProfileToolAction ()
 load ($profile)
 loadToolActionList ()
 save ()
 setAction ($toolId, $actionName, $value)
 getAction ($toolId, $actionName)
 getToolActionList ()

Data Fields

 $profile
 $toolActionList = array()
 $tbl

Detailed Description

Definition at line 24 of file profileToolAction.class.php.


Member Function Documentation

getAction ( toolId,
actionName 
)

Get action value of the profile

Parameters:
integer $toolId tool identifier
string $actionName action name
Returns:
boolean

Definition at line 186 of file profileToolAction.class.php.

getToolActionList (  ) 

Get action list of the profile

Definition at line 202 of file profileToolAction.class.php.

load ( profile  ) 

Load rights of a profile

Reimplemented in RightCourseProfileToolRight.

Definition at line 62 of file profileToolAction.class.php.

loadToolActionList (  ) 

Load tool action list value of a profile

Definition at line 75 of file profileToolAction.class.php.

Constructor

Definition at line 48 of file profileToolAction.class.php.

save (  ) 

Save profile tool list action value

Reimplemented in RightCourseProfileToolRight.

Definition at line 123 of file profileToolAction.class.php.

setAction ( toolId,
actionName,
value 
)

Set action value of the profile

Parameters:
integer $tool_id tool identifier
string $action_name action name
boolean $value action value

Definition at line 168 of file profileToolAction.class.php.


Field Documentation

$profile

Definition at line 30 of file profileToolAction.class.php.

$tbl

$tbl list of table (DB)

Definition at line 42 of file profileToolAction.class.php.

$toolActionList = array()

$toolActionList list action of the profile and their values

Definition at line 36 of file profileToolAction.class.php.


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