forked from extern/egroupware
"phpdoc file header and __constuct()"
This commit is contained in:
parent
c45e0ee9fe
commit
62ca85a1b8
@ -1,32 +1,25 @@
|
||||
<?php
|
||||
/**************************************************************************\
|
||||
* eGroupWare - Setup - db-schema-processor *
|
||||
* http://www.egroupware.org *
|
||||
* -------------------------------------------- *
|
||||
* Rewritten and adopted to ADOdb's data-dictionary by Ralf Becker *
|
||||
* <RalfBecker@outdoor-training.de> *
|
||||
* This file was originaly written by *
|
||||
* - Michael Dean <mdean@users.sourceforge.net> *
|
||||
* - Miles Lott<milosch@groupwhere.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$ */
|
||||
|
||||
/**
|
||||
* eGW's ADOdb based schema-processor
|
||||
/**
|
||||
* eGroupWare - Setup - db-schema-processor
|
||||
*
|
||||
* @package phpgwapi
|
||||
* Originaly written by
|
||||
* - Michael Dean <mdean@users.sourceforge.net>
|
||||
* - Miles Lott<milosch@groupwhere.org>
|
||||
* Rewritten and adapted to ADOdb's schema processor by Ralf Becker.
|
||||
*
|
||||
* @link http://www.egroupware.org
|
||||
* @author Ralf Becker <RalfBecker@outdoor-training.de>
|
||||
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
||||
* @package api
|
||||
* @subpackage db
|
||||
* @author RalfBecker-AT-outdoor-training.de and others
|
||||
* @license GPL
|
||||
* @version $Id$
|
||||
*/
|
||||
class schema_proc
|
||||
{
|
||||
|
||||
/**
|
||||
* eGW's ADOdb based schema-processor
|
||||
*/
|
||||
class schema_proc
|
||||
{
|
||||
/**
|
||||
* @deprecated formerly used translator class, now a reference to ourself
|
||||
*/
|
||||
@ -63,7 +56,6 @@
|
||||
var $max_index_length=array(
|
||||
'maxdb' => 32,
|
||||
'oracle' => 30,
|
||||
'mysql' => 122,
|
||||
);
|
||||
/**
|
||||
* type of the database, set by the the constructor: 'mysql','pgsql','mssql','maxdb'
|
||||
@ -103,7 +95,7 @@
|
||||
* @param object $db=null database class, if null we use $GLOBALS['egw']->db
|
||||
* @return schema_proc
|
||||
*/
|
||||
function schema_proc($dbms=False,$db=null)
|
||||
function __construct($dbms=False,$db=null)
|
||||
{
|
||||
if(is_object($db))
|
||||
{
|
||||
@ -1326,5 +1318,4 @@
|
||||
$this->$kind = $tabledef[$kind];
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user