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

Go to the source code of this file.

Namespaces

namespace  tool

Variables

 $lng = required_param('lng', PARAM_LANG)
 $currentpage = optional_param('p', 0, PARAM_INT)
 $translatorsubmitted = optional_param('translatorsubmitted', 0, PARAM_BOOL)
if(empty($lng)) $filter = new tool_customlang_filter_form($PAGE->url, null, 'post', '', array('class'=>'filterform'))
 $filterdata = tool_customlang_utils::load_filter($USER)
if($filter->is_cancelled())
elseif($submitted=$filter->
get_data()) if($translatorsubmitted) 
$translator = new tool_customlang_translator($PAGE->url, $lng, $filterdata, $currentpage)
 $output = $PAGE->get_renderer('tool_customlang')
 $paginator = $output->paging_bar($translator->numofrows, $currentpage, tool_customlang_translator::PERPAGE, $PAGE->url, 'p')

Variable Documentation

$currentpage = optional_param('p', 0, PARAM_INT)

Definition at line 32 of file edit.php.

if (empty($lng)) $filter = new tool_customlang_filter_form($PAGE->url, null, 'post', '', array('class'=>'filterform'))

Definition at line 48 of file edit.php.

$filterdata = tool_customlang_utils::load_filter($USER)

Definition at line 49 of file edit.php.

$lng = required_param('lng', PARAM_LANG)

Definition at line 31 of file edit.php.

$output = $PAGE->get_renderer('tool_customlang')

Definition at line 117 of file edit.php.

$paginator = $output->paging_bar($translator->numofrows, $currentpage, tool_customlang_translator::PERPAGE, $PAGE->url, 'p')

Definition at line 118 of file edit.php.

if ($filter->is_cancelled()) elseif ($submitted=$filter->get_data()) if ($translatorsubmitted) $translator = new tool_customlang_translator($PAGE->url, $lng, $filterdata, $currentpage)

Definition at line 114 of file edit.php.

$translatorsubmitted = optional_param('translatorsubmitted', 0, PARAM_BOOL)

Definition at line 33 of file edit.php.

 All Data Structures Namespaces Files Functions Variables Enumerations