2 /** snippit to use when extending Modules
\r
3 class PropertiesModule extends Module {
\r
5 function PropertiesModule($row) {
\r
6 parent::Module($row);
\r
8 define('AT_PRIV_ADMIN', $row['privilege']);
\r
18 if (!defined('AT_INCLUDE_PATH')) { exit; }
\r
19 if (!isset($this) || (isset($this) && (strtolower(get_class($this)) != 'module'))) { exit(__FILE__ . ' is not a Module'); }
\r
21 if (!defined('AT_PRIV_ADMIN')) {
\r
22 define('AT_PRIV_ADMIN', $this->getPrivilege());
\r
26 $this->_pages['mods/_core/properties/admin/edit_course.php']['title_var'] = 'course_properties';
\r
27 $this->_pages['mods/_core/properties/admin/edit_course.php']['parent'] = 'mods/_core/courses/admin/courses.php';
\r
29 $this->_pages['mods/_core/properties/admin/delete_course.php']['title_var'] = 'delete_course';
\r
30 $this->_pages['mods/_core/properties/admin/delete_course.php']['parent'] = 'mods/_core/courses/admin/courses.php';
\r
34 $this->_pages['mods/_core/properties/course_properties.php']['title_var'] = 'properties';
\r
35 $this->_pages['mods/_core/properties/course_properties.php']['parent'] = 'tools/index.php';
\r
36 $this->_pages['mods/_core/properties/course_properties.php']['children'] = array('mods/_core/properties/delete_course.php', 'mods/_core/properties/access.php');
\r
37 $this->_pages['mods/_core/properties/course_properties.php']['guide'] = 'instructor/?p=properties.php';
\r
39 $this->_pages['mods/_core/properties/delete_course.php']['title_var'] = 'delete_course';
\r
40 $this->_pages['mods/_core/properties/delete_course.php']['parent'] = 'mods/_core/properties/course_properties.php';
\r
42 $this->_pages['mods/_core/properties/access.php']['title_var'] = 'authenticated_access';
\r
43 $this->_pages['mods/_core/properties/access.php']['parent'] = 'mods/_core/properties/course_properties.php';
\r
44 $this->_pages['mods/_core/properties/access.php']['guide'] = 'instructor/?p=authenticated_access.php';
\r