claroline/claroline/course/tools.php File Reference

Go to the source code of this file.

Namespaces

namespace  CLHOME

Variables

 $gidReset = true
 $nameTools = get_lang('Edit Tool list')
 $noPHP_SELF = TRUE
 $sectionList
 $currentSection
 $htmlHeadXtra []
 $toolRepository = '../'
 $currentCourseRepository = claro_get_course_path()
 $dialogBox = new DialogBox()
 $toolNameList = claro_get_tool_name_list()
 $cmd = isset($_REQUEST['cmd'])?$_REQUEST['cmd']:null
 $tool_id = isset($_REQUEST['tool_id'])?(int)$_REQUEST['tool_id']:null
 $profile_id = isset($_REQUEST['profile_id'])?$_REQUEST['profile_id']:null
 $right_value = isset($_REQUEST['right_value'])?$_REQUEST['right_value']:null
 $toolLabel = isset($_REQUEST['toolLabel'])?$_REQUEST['toolLabel']:null
 $externalLinkName = isset($_REQUEST['toolName'])?$_REQUEST['toolName']:null
 $externalLinkUrl = isset($_REQUEST['toolUrl'])?$_REQUEST['toolUrl']:null
if(!empty($profile_id)) if($cmd==
'exVisible'||$cmd==
'exInvisible') if($cmd==
'exAdd') if($cmd== 'exEdit')
if($cmd== 'exDelete') if($cmd==
'rqAdd'||$cmd== 'rqEdit') 
$undeactivable_tool_array = get_not_deactivable_tool_list()
if( 'exRmTool'==$cmd) if(
'exAddTool'==$cmd
$toolList
 $displayToolList = array()
foreach($toolList as $thisTool) $courseExtLinkList = claro_get_course_external_link_list()
 $out = ''

Variable Documentation

$cmd = isset($_REQUEST['cmd'])?$_REQUEST['cmd']:null

Definition at line 76 of file tools.php.

foreach ($toolList as $thisTool) $courseExtLinkList = claro_get_course_external_link_list()

Definition at line 421 of file tools.php.

$currentCourseRepository = claro_get_course_path()

Definition at line 54 of file tools.php.

$currentSection
Initial value:
 isset( $_REQUEST['section'] )
    && in_array( $_REQUEST['section'], array_keys($sectionList) )
    ? $_REQUEST['section']
    : 'toolRights'

Definition at line 35 of file tools.php.

$dialogBox = new DialogBox()

Definition at line 55 of file tools.php.

$displayToolList = array()

Definition at line 401 of file tools.php.

$externalLinkName = isset($_REQUEST['toolName'])?$_REQUEST['toolName']:null

Definition at line 82 of file tools.php.

$externalLinkUrl = isset($_REQUEST['toolUrl'])?$_REQUEST['toolUrl']:null

Definition at line 83 of file tools.php.

$gidReset = true

Definition at line 15 of file tools.php.

$htmlHeadXtra[]
Initial value:
'<script type="text/javascript">
function confirmation (name)
{
    if (confirm(\''.clean_str_for_javascript(get_lang('Are you sure to delete')).'\'+ name + \' ?\'))
        {return true;}
    else
        {return false;}
}
</script>'

Definition at line 41 of file tools.php.

$nameTools = get_lang('Edit Tool list')

Definition at line 20 of file tools.php.

$noPHP_SELF = TRUE

Definition at line 21 of file tools.php.

$out = ''

Definition at line 427 of file tools.php.

$profile_id = isset($_REQUEST['profile_id'])?$_REQUEST['profile_id']:null

Definition at line 78 of file tools.php.

$right_value = isset($_REQUEST['right_value'])?$_REQUEST['right_value']:null

Definition at line 79 of file tools.php.

$sectionList
Initial value:
 array(
    'toolRights' => get_lang('Manage tool access rights'),
    'extLinks' => get_lang('Manage external links'),
    'toolList' => get_lang('Add or remove tools')
)

Definition at line 29 of file tools.php.

$tool_id = isset($_REQUEST['tool_id'])?(int)$_REQUEST['tool_id']:null

Definition at line 77 of file tools.php.

$toolLabel = isset($_REQUEST['toolLabel'])?$_REQUEST['toolLabel']:null

Definition at line 80 of file tools.php.

if ( 'exRmTool'==$cmd) if ( 'exAddTool'==$cmd) $toolList
Initial value:
 claro_get_course_tool_list(
    claro_get_current_course_id(), $_profileId, true, true, false )

Definition at line 398 of file tools.php.

$toolNameList = claro_get_tool_name_list()

Definition at line 70 of file tools.php.

$toolRepository = '../'

Definition at line 52 of file tools.php.

if (!empty($profile_id)) if ($cmd== 'exVisible'||$cmd== 'exInvisible') if ($cmd== 'exAdd') if ($cmd== 'exEdit') if ($cmd== 'exDelete') if ($cmd== 'rqAdd'||$cmd== 'rqEdit') $undeactivable_tool_array = get_not_deactivable_tool_list()

UPDATE EXTERNAL TOOL SETTINGS

Definition at line 298 of file tools.php.

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