d7fc7da288df36f2d03cb766d727d475f91946a0
[atutor.git] / docs / mods / _standard / farchive / module.php
1 <?php\r
2 /*******\r
3  * doesn't allow this file to be loaded with a browser.\r
4  */\r
5 if (!defined('AT_INCLUDE_PATH')) { exit; }\r
6 \r
7 /******\r
8  * this file must only be included within a Module obj\r
9  */\r
10 if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }\r
11 \r
12 /*******\r
13  * assign the instructor and admin privileges to the constants.\r
14  */\r
15 define('AT_PRIV_FARCHIVE',       $this->getPrivilege());\r
16 //define('AT_ADMIN_PRIV_FARCHIVE', $this->getAdminPrivilege());\r
17 \r
18 /*******\r
19  * instructor Manage section:\r
20  */\r
21 \r
22 $this->_pages['mods/_standard/farchive/index_instructor.php']['title_var'] = 'farchive_export';\r
23 $this->_pages['mods/_standard/farchive/index_instructor.php']['parent']    = 'mods/_standard/forums/index.php';\r
24 $this->_pages['mods/_standard/farchive/index_instructor.php']['guide']    = 'instructor/?p=forum_export.php';\r
25 $this->_pages['mods/_standard/forums/index.php']['children']  = array('mods/_standard/farchive/index_instructor.php');\r
26 \r
27 \r
28 ?>