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

Go to the source code of this file.

Namespaces

namespace  moodlecore

Variables

 $context = get_context_instance(CONTEXT_SYSTEM)
 $id = optional_param('id', null, PARAM_INT)
 $url = new moodle_url('/blog/external_blog_edit.php')
 $returnurl = new moodle_url('/blog/external_blogs.php')
 $action = (empty($id)) ? 'add' : 'edit'
 $external = new stdClass()
if(!empty($id)&&!$DB->
record_exists('blog_external',
array('id'=> $id))) elseif(!empty($id)) 
$strformheading = ($action == 'edit') ? get_string('editexternalblog', 'blog') : get_string('addnewexternalblog', 'blog')
 $strexternalblogs = get_string('externalblogs','blog')
 $strblogs = get_string('blogs','blog')
 $externalblogform = new blog_edit_external_form()

Variable Documentation

$action = (empty($id)) ? 'add' : 'edit'

Definition at line 51 of file external_blog_edit.php.

$external = new stdClass()

Definition at line 53 of file external_blog_edit.php.

$externalblogform = new blog_edit_external_form()

Definition at line 66 of file external_blog_edit.php.

$id = optional_param('id', null, PARAM_INT)

Definition at line 40 of file external_blog_edit.php.

$returnurl = new moodle_url('/blog/external_blogs.php')

Definition at line 49 of file external_blog_edit.php.

$strblogs = get_string('blogs','blog')

Definition at line 64 of file external_blog_edit.php.

$strexternalblogs = get_string('externalblogs','blog')

Definition at line 63 of file external_blog_edit.php.

if (!empty($id)&&!$DB->record_exists('blog_external', array('id'=> $id))) elseif (!empty($id)) $strformheading = ($action == 'edit') ? get_string('editexternalblog', 'blog') : get_string('addnewexternalblog', 'blog')

Definition at line 62 of file external_blog_edit.php.

$url = new moodle_url('/blog/external_blog_edit.php')

Definition at line 41 of file external_blog_edit.php.

 All Data Structures Namespaces Files Functions Variables Enumerations