Fix headers and adjust classname in schedule service

This commit is contained in:
Miles Lott 2004-11-30 13:40:46 +00:00
parent 4c3d73a5a3
commit 70425fa29b
4 changed files with 18 additions and 18 deletions

View File

@ -1,11 +1,11 @@
<?php
/**************************************************************************\
* eGroupWare API - Services Abstraction Class *
* This file written by Miles Lott <milosch@groupwhere.org> *
* Copyright (C) 2001 Miles Lott *
* -------------------------------------------------------------------------*
* This file written by Miles Lott <milos@groupwhere.org> *
* Copyright (C) 2001-2004 Miles Lott *
* ------------------------------------------------------------------------ *
* This library is part of the eGroupWare API *
* http://www.egroupware.org/api *
* http://www.egroupware.org/api *
* ------------------------------------------------------------------------ *
* This library is free software; you can redistribute it and/or modify it *
* under the terms of the GNU Lesser General Public License as published by *
@ -37,7 +37,7 @@
$function = $service[1];
$service = $service[0];
}
switch ($service)
switch($service)
{
case 'schedule':
case 'contacts':

View File

@ -1,9 +1,9 @@
<?php
/**************************************************************************\
* eGroupWare API - Services Abstraction Class *
* This file written by Miles Lott <milosch@groupwhere.org> *
* Copyright (C) 2001 Miles Lott *
* -------------------------------------------------------------------------*
* This file written by Miles Lott <milos@groupwhere.org> *
* Copyright (C) 2001-2004 Miles Lott *
* ------------------------------------------------------------------------ *
* This library is part of the eGroupWare API *
* http://www.egroupware.org/api *
* ------------------------------------------------------------------------ *

View File

@ -1,9 +1,9 @@
<?php
/**************************************************************************\
* eGroupWare API - Services Abstraction Class *
* This file written by Miles Lott <milosch@groupwhere.org> *
* Copyright (C) 2001 Miles Lott *
* -------------------------------------------------------------------------*
* This file written by Miles Lott <milos@groupwhere.org> *
* Copyright (C) 2001-2004 Miles Lott *
* ------------------------------------------------------------------------ *
* This library is part of the eGroupWare API *
* http://www.egroupware.org/api *
* ------------------------------------------------------------------------ *
@ -22,9 +22,9 @@
/* $Id$ */
class service_contacts extends service
class service_notes extends service
{
function service_contacts()
function service_notes()
{
$this->provider = $GLOBALS['phpgw_info']['notes_service'] ? $GLOBALS['phpgw_info']['notes_service'] : 'notes';
$this->svc = $this->provider . '.bo' . $this->provider;

View File

@ -1,9 +1,9 @@
<?php
/**************************************************************************\
* eGroupWare API - Services Abstraction Class *
* This file written by Miles Lott <milosch@groupwhere.org> *
* Copyright (C) 2001 Miles Lott *
* -------------------------------------------------------------------------*
* This file written by Miles Lott <milos@groupwhere.org> *
* Copyright (C) 2001-2004 Miles Lott *
* ------------------------------------------------------------------------ *
* This library is part of the eGroupWare API *
* http://www.egroupware.org/api *
* ------------------------------------------------------------------------ *
@ -22,9 +22,9 @@
/* $Id$ */
class service_contacts extends service
class service_schedule extends service
{
function service_contacts()
function service_schedule()
{
$this->provider = $GLOBALS['phpgw_info']['schedule_service'] ? $GLOBALS['phpgw_info']['schedule_service'] : 'calendar';
$this->svc = $this->provider . '.bo' . $this->provider;