Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/grade/import/keymanager.php File Reference

Go to the source code of this file.

Namespaces

namespace  moodlecore

Variables

 $id = required_param('id', PARAM_INT)
 $context = get_context_instance(CONTEXT_COURSE, $id)
 $stredit = get_string('edit')
 $strdelete = get_string('delete')
 $data = array()
 $params = array($course->id, $USER->id)
if($keys=$DB->
get_records_select('user_private_key',"script='grade/import'
AND instance=? AND userid=?",
$params)) 
$table = new html_table()
$table head = array(get_string('keyvalue', 'userkey'), get_string('keyiprestriction', 'userkey'), get_string('keyvaliduntil', 'userkey'), $stredit)
$table size = array('50%', '30%', '10%', '10%')
$table align = array('left', 'left', 'left', 'center')
$table width = '90%'
$table data = $data

Variable Documentation

Definition at line 38 of file keymanager.php.

$data = array()

Definition at line 47 of file keymanager.php.

Definition at line 29 of file keymanager.php.

$params = array($course->id, $USER->id)

Definition at line 48 of file keymanager.php.

$strdelete = get_string('delete')

Definition at line 45 of file keymanager.php.

$stredit = get_string('edit')

Definition at line 44 of file keymanager.php.

if ($keys=$DB->get_records_select('user_private_key',"script='grade/import' AND instance=? AND userid=?", $params)) $table = new html_table()

Definition at line 68 of file keymanager.php.

$table align = array('left', 'left', 'left', 'center')

Definition at line 71 of file keymanager.php.

Definition at line 73 of file keymanager.php.

$table head = array(get_string('keyvalue', 'userkey'), get_string('keyiprestriction', 'userkey'), get_string('keyvaliduntil', 'userkey'), $stredit)

Definition at line 69 of file keymanager.php.

$table size = array('50%', '30%', '10%', '10%')

Definition at line 70 of file keymanager.php.

$table width = '90%'

Definition at line 72 of file keymanager.php.

 All Data Structures Namespaces Files Functions Variables Enumerations