new class naming schema

This commit is contained in:
Ralf Becker 2008-06-07 17:49:16 +00:00
parent ef700b0061
commit f11875aad9
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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',

View File

@ -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');
}