| [ Index ] |
PHP Cross Reference of Moodle 1.9.3 [Build 15-Oct-2008] |
[Summary view] [Print] [Text view]
1 <?php // $Id: pagelib.php,v 1.10 2007/07/05 04:41:07 mattc-catalyst Exp $ 2 3 require_once($CFG->libdir.'/pagelib.php'); 4 require_once($CFG->dirroot.'/course/lib.php'); // needed for some blocks 5 6 define('PAGE_DATA_VIEW', 'mod-data-view'); 7 8 page_map_class(PAGE_DATA_VIEW, 'page_data'); 9 10 $DEFINEDPAGES = array(PAGE_DATA_VIEW); 11 /* 12 */ 13 14 /** 15 * Class that models the behavior of a data 16 * 17 * @author Jon Papaioannou 18 * @package pages 19 */ 20 21 class page_data extends page_generic_activity { 22 23 function init_quick($data) { 24 if(empty($data->pageid)) { 25 error('Cannot quickly initialize page: empty course id'); 26 } 27 $this->activityname = 'data'; 28 parent::init_quick($data); 29 } 30 31 function print_header($title, $morenavlinks = NULL, $meta) { 32 parent::print_header($title, $morenavlinks, '', $meta); 33 } 34 35 function get_type() { 36 return PAGE_DATA_VIEW; 37 } 38 } 39 40 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Wed Jan 14 11:33:29 2009 | Cross-referenced by PHPXref 0.7 |