RightToolAction Class Reference

Public Member Functions

 RightToolAction ()
 load ($actionName, $toolId)
 save ()
 delete ()
 exists ()
 getId ()
 getName ()
 getDescription ()
 getToolId ()
 getType ()
 setName ($value)
 setDescription ($value)
 setToolId ($value)
 setType ($value)

Data Fields

 $name
 $description
 $toolId
 $type
 $tbl = array()

Detailed Description

Definition at line 22 of file toolAction.class.php.


Member Function Documentation

delete (  ) 

Delete action

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

exists (  ) 

Check if action already exists

Definition at line 145 of file toolAction.class.php.

getDescription (  ) 

Get action description

Definition at line 179 of file toolAction.class.php.

getId (  ) 

Get action id

Definition at line 161 of file toolAction.class.php.

getName (  ) 

Get action name

Definition at line 170 of file toolAction.class.php.

getToolId (  ) 

Get tool identifier

Definition at line 188 of file toolAction.class.php.

getType (  ) 

Get type

Definition at line 197 of file toolAction.class.php.

load ( actionName,
toolId 
)

Load action from DB

Parameters:
$action_name 
$toolId 
Returns:
boolean load successfull ?

Definition at line 55 of file toolAction.class.php.

RightToolAction (  ) 

Constructor

Definition at line 34 of file toolAction.class.php.

save (  ) 

Save action

Definition at line 89 of file toolAction.class.php.

setDescription ( value  ) 

Set description

Definition at line 215 of file toolAction.class.php.

setName ( value  ) 

Set name

Definition at line 206 of file toolAction.class.php.

setToolId ( value  ) 

Set tool identifier

Definition at line 224 of file toolAction.class.php.

setType ( value  ) 

set type

Definition at line 233 of file toolAction.class.php.


Field Documentation

$description

Definition at line 25 of file toolAction.class.php.

$name

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

$tbl = array()

Definition at line 28 of file toolAction.class.php.

$toolId

Definition at line 26 of file toolAction.class.php.

$type

Definition at line 27 of file toolAction.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