Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/admin/repository.php File Reference

Go to the source code of this file.

Functions

 repository_action_url ($repository)

Variables

 $repository = optional_param('repos', '', PARAM_FORMAT)
 $action = optional_param('action', '', PARAM_ALPHA)
 $sure = optional_param('sure', '', PARAM_ALPHA)
 $display = true
 $pagename = 'managerepositories'
if($action== 'edit') else if($action==
'delete') else if(($action==
'newon')||($action== 'newoff')) 
$formaction = $action
 $sesskeyurl = $CFG->wwwroot.'/'.$CFG->admin.'/repository.php?sesskey=' . sesskey()
 $baseurl = $CFG->wwwroot.'/'.$CFG->admin.'/repository.php'
 $configstr = get_string('manage', 'repository')
 $return = true

Function Documentation

repository_action_url ( repository)

Helper function that generates a moodle_url object relevant to the repository

Definition at line 49 of file repository.php.

Here is the call graph for this function:


Variable Documentation

Definition at line 8 of file repository.php.

$baseurl = $CFG->wwwroot.'/'.$CFG->admin.'/repository.php'

Definition at line 39 of file repository.php.

$configstr = get_string('manage', 'repository')

Definition at line 41 of file repository.php.

Definition at line 11 of file repository.php.

if ($action== 'edit') else if ($action== 'delete') else if (($action== 'newon')||($action== 'newoff')) $formaction = $action

Definition at line 24 of file repository.php.

$pagename = 'managerepositories'

Definition at line 13 of file repository.php.

Definition at line 7 of file repository.php.

$return = true

Definition at line 43 of file repository.php.

$sesskeyurl = $CFG->wwwroot.'/'.$CFG->admin.'/repository.php?sesskey=' . sesskey()

Definition at line 38 of file repository.php.

$sure = optional_param('sure', '', PARAM_ALPHA)

Definition at line 9 of file repository.php.

 All Data Structures Namespaces Files Functions Variables Enumerations