NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
<?php // $Id$
|
|
|
|
|
|
|
|
require_once($CFG->libdir.'/pagelib.php');
|
2006-06-26 21:35:05 +00:00
|
|
|
require_once($CFG->dirroot.'/course/lib.php'); // needed for some blocks
|
NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
|
2006-02-03 08:11:36 +00:00
|
|
|
define('PAGE_DATA_VIEW', 'mod-data-view');
|
2006-01-18 06:58:50 +00:00
|
|
|
|
2006-02-03 08:11:36 +00:00
|
|
|
page_map_class(PAGE_DATA_VIEW, 'page_data');
|
|
|
|
|
|
|
|
$DEFINEDPAGES = array(PAGE_DATA_VIEW);
|
NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
/*
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Class that models the behavior of a data
|
|
|
|
*
|
|
|
|
* @author Jon Papaioannou
|
|
|
|
* @package pages
|
|
|
|
*/
|
|
|
|
|
|
|
|
class page_data extends page_generic_activity {
|
|
|
|
|
|
|
|
function init_quick($data) {
|
|
|
|
if(empty($data->pageid)) {
|
|
|
|
error('Cannot quickly initialize page: empty course id');
|
|
|
|
}
|
|
|
|
$this->activityname = 'data';
|
|
|
|
parent::init_quick($data);
|
|
|
|
}
|
|
|
|
|
2007-07-05 04:40:48 +00:00
|
|
|
function print_header($title, $morenavlinks = NULL, $meta) {
|
|
|
|
parent::print_header($title, $morenavlinks, '', $meta);
|
NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
function get_type() {
|
2006-02-03 08:11:36 +00:00
|
|
|
return PAGE_DATA_VIEW;
|
NEW MODULE FROM MOODLE.COM - DATABASE !
Finally, we have an early version good enough for everyone to
start banging on to help us polish it up and find bugs.
Please take a look and file bugs in the bug tracker under "Database module".
We urgently need
- new icons for existing field types
- testing on PostgreSQL install
Coming soon (?):
- Many more field types: calculation, checkbox, relation, date, datetime,
time, email, group, list, user, number, richtext
(Please let us know if you are interested in developing any of these)
- A way to save and restore "presets", which are field/template sets
- Backup/Restore support
- Groups Support
- RSS support
Many thanks to Yu for all the hard work under my whip.
2005-12-02 07:50:26 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|