diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/controller/shifttypes_controller.php | 39 | ||||
-rw-r--r-- | includes/view/ShiftTypes_view.php | 15 |
2 files changed, 54 insertions, 0 deletions
diff --git a/includes/controller/shifttypes_controller.php b/includes/controller/shifttypes_controller.php new file mode 100644 index 00000000..3ceb5c0d --- /dev/null +++ b/includes/controller/shifttypes_controller.php @@ -0,0 +1,39 @@ +<?php + +function shifttype_delete_controller() { +} + +function shifttype_edit_controller() { +} + +function shifttype_controller() { +} + +function shifttypes_list_controller() { +} + +/** + * Text for shift type related links. + */ +function shifttypes_title() { + return _("Shifttypes"); +} + +function shifttypes_controller() { + if (! isset($_REQUEST['action'])) + $_REQUEST['action'] = 'list'; + + switch ($_REQUEST['action']) { + default: + case 'list': + return shifttypes_list_controller(); + case 'view': + return shifttype_controller(); + case 'edit': + return shifttype_edit_controller(); + case 'delete': + return shifttype_delete_controller(); + } +} + +?>
\ No newline at end of file diff --git a/includes/view/ShiftTypes_view.php b/includes/view/ShiftTypes_view.php new file mode 100644 index 00000000..c18ea493 --- /dev/null +++ b/includes/view/ShiftTypes_view.php @@ -0,0 +1,15 @@ +<?php + +function ShiftType_delete_view($shifttype) { +} + +function ShiftType_edit_view($name, $angeltype_id, $angeltypes, $description, $shifttype_id) { +} + +function ShiftType_view($shifttype) { +} + +function ShiftTypes_list_view() { +} + +?>
\ No newline at end of file |