| [ 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/04/16 20:59:17 mattc-catalyst Exp $ 2 3 require_once($CFG->libdir.'/pagelib.php'); 4 5 define('PAGE_CHAT_VIEW', 'mod-chat-view'); 6 7 page_map_class(PAGE_CHAT_VIEW, 'page_chat'); 8 9 $DEFINEDPAGES = array(PAGE_CHAT_VIEW); 10 11 /** 12 * Class that models the behavior of a chat 13 * 14 * @author Jon Papaioannou 15 * @package pages 16 */ 17 18 class page_chat extends page_generic_activity { 19 20 function init_quick($data) { 21 if(empty($data->pageid)) { 22 error('Cannot quickly initialize page: empty course id'); 23 } 24 $this->activityname = 'chat'; 25 parent::init_quick($data); 26 } 27 28 function get_type() { 29 return PAGE_CHAT_VIEW; 30 } 31 } 32 33 ?>
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 |