From f11875aad968e375547ab51cbfacd54543789164 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 7 Jun 2008 17:49:16 +0000 Subject: [PATCH] new class naming schema --- calendar/inc/class.calendar_ical.inc.php | 2 +- calendar/inc/class.calendar_sif.inc.php | 2 +- calendar/inc/class.calendar_uiforms.inc.php | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/calendar/inc/class.calendar_ical.inc.php b/calendar/inc/class.calendar_ical.inc.php index ba2703570d..6134bcd1fd 100644 --- a/calendar/inc/class.calendar_ical.inc.php +++ b/calendar/inc/class.calendar_ical.inc.php @@ -16,7 +16,7 @@ require_once EGW_SERVER_ROOT.'/phpgwapi/inc/horde/Horde/iCalendar.php'; /** * iCal import and export via Horde iCalendar classes */ -class boical extends calendar_boupdate +class calendar_ical extends calendar_boupdate { /** * @var array $supportedFields array containing the supported fields of the importing device diff --git a/calendar/inc/class.calendar_sif.inc.php b/calendar/inc/class.calendar_sif.inc.php index 119118344e..7e63ee9d98 100644 --- a/calendar/inc/class.calendar_sif.inc.php +++ b/calendar/inc/class.calendar_sif.inc.php @@ -15,7 +15,7 @@ require_once EGW_SERVER_ROOT.'/phpgwapi/inc/horde/Horde/iCalendar.php'; /** * SIF Parser for SyncML */ -class sifcalendar extends calendar_boupdate +class calendar_sif extends calendar_boupdate { var $sifMapping = array( 'Start' => 'start', diff --git a/calendar/inc/class.calendar_uiforms.inc.php b/calendar/inc/class.calendar_uiforms.inc.php index 8fd0eae99e..4880f327c5 100644 --- a/calendar/inc/class.calendar_uiforms.inc.php +++ b/calendar/inc/class.calendar_uiforms.inc.php @@ -1328,7 +1328,7 @@ class calendar_uiforms extends calendar_ui { if (is_numeric($cal_id = $content ? $content : $_REQUEST['cal_id'])) { - if (!($ical =& ExecMethod2('calendar.boical.exportVCal',$cal_id,'2.0'))) + if (!($ical =& ExecMethod2('calendar.calendar_ical.exportVCal',$cal_id,'2.0'))) { $msg = lang('Permission denied'); @@ -1357,7 +1357,7 @@ class calendar_uiforms extends calendar_ui } else { - $ical =& ExecMethod2('calendar.boical.exportVCal',$events,'2.0'/*$content['version']*/); + $ical =& ExecMethod2('calendar.calendar_ical.exportVCal',$events,'2.0'/*$content['version']*/); $GLOBALS['egw']->browser->content_header($content['file'] ? $content['file'] : 'event.ics','text/calendar',bytes($ical)); echo $ical; $GLOBALS['egw']->common->egw_exit(); @@ -1393,7 +1393,7 @@ class calendar_uiforms extends calendar_ui { if (is_array($content['ical_file']) && is_uploaded_file($content['ical_file']['tmp_name'])) { - if (!ExecMethod('calendar.boical.importVCal',file_get_contents($content['ical_file']['tmp_name']))) + if (!ExecMethod('calendar.calendar_ical.importVCal',file_get_contents($content['ical_file']['tmp_name']))) { $msg = lang('Error: importing the iCal'); }