removed addressbook and todo from api

This commit is contained in:
skeeter 2000-12-26 20:29:47 +00:00
parent cbc8000109
commit b6631877a0
3 changed files with 5 additions and 114 deletions

View File

@ -94,17 +94,6 @@
include($phpgw_info["server"]["api_inc"] . "/phpgw_vfs.inc.php");
$phpgw->vfs = new vfs;
}
if ($phpgw_info["flags"]["enable_todo_class"]) {
include($phpgw_info["server"]["api_inc"] . "/phpgw_todo.inc.php");
$phpgw->todo = new todo;
}
if ($phpgw_info["flags"]["enable_addressbook_class"]) {
include($phpgw_info["server"]["api_inc"] . "/phpgw_addressbook.inc.php");
$phpgw->addressbook = new addressbook;
}
}
/**************************************************************************\
@ -114,12 +103,10 @@
{
var $accounts;
var $acl;
var $addressbook;
var $auth;
var $db;
var $debug = 0; // This will turn on debugging information. (Not fully working)
var $crypto;
var $calendar;
var $categories;
var $common;
var $hooks;
@ -127,14 +114,17 @@
var $nextmatchs;
var $preferences;
var $session;
var $msg;
var $send;
var $template;
var $todo;
var $translation;
var $utilities;
var $vfs;
var $calendar;
var $msg;
var $addressbook;
var $todo;
// This is here so you can decied what the best way to handle bad sessions
// You could redirect them to login.php with code 2 or use the default

View File

@ -1,16 +0,0 @@
<?php
/**************************************************************************\
* phpGroupWare *
* http://www.phpgroupware.org *
* -------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
class addressbook
{
}

View File

@ -1,83 +0,0 @@
<?php
/**************************************************************************\
* phpGroupWare *
* http://www.phpgroupware.org *
* This file written by Marc Logemann <logemann@marc-logemann.de> *
* -------------------------------------------------------------- *
* This program is free software; you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the *
* Free Software Foundation; either version 2 of the License, or (at your *
* option) any later version. *
\**************************************************************************/
/* $Id$ */
class todo
{
var $projectid;
var $parent;
var $owner;
var $access;
var $desc;
var $priority;
var $status;
var $createdate;
var $customernr;
var $hours;
var $deadline;
// array $participants;
var $db; // database handle
//========================================
// CONSTRUCTOR
//========================================
function todo()
{
// dont know yet
}
//========================================
// adds a project into database (API)
//========================================
function addproject()
{
global $phpgw_info, $phpgw;
}
//========================================
// view project details (API)
//========================================
function viewproject()
{
global $phpgw_info, $phpgw;
}
//========================================
// delete project (API)
//========================================
function delproject()
{
global $phpgw_info, $phpgw;
}
//========================================
// add participant (API)
//========================================
function addparticipant()
{
global $phpgw_info, $phpgw;
}
// ***************************************************
// here we got helper methods for APIs
// ***************************************************
// ---------------------
// helper 1
//----------------------
function helper1()
{
global $phpgw_info, $phpgw;
}
}