Source for file createTables.php
Documentation is available at createTables.php
// +----------------------------------------------------------------------+
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2003 The PHP Group |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.02 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available at through the world-wide-web at |
// | http://www.php.net/license/2_02.txt. |
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Author: Alan Knowles <alan@akbkhome.com>
// +----------------------------------------------------------------------+
// $Id: createTables.php,v 1.20 2005/03/12 03:36:09 alan_k Exp $
// since this version doesnt use overload,
// and I assume anyone using custom generators should add this..
define('DB_DATAOBJECT_NO_OVERLOAD',1 );
require_once 'DB/DataObject/Generator.php';
if (!ini_get('register_argc_argv')) {
PEAR ::raiseError ("\nERROR: You must turn register_argc_argv On in you php.ini file for this to work\neg.\n\nregister_argc_argv = On\n\n", null , PEAR_ERROR_DIE );
if (!@$_SERVER['argv'][1 ]) {
PEAR ::raiseError ("\nERROR: createTable.php usage:\n\nC:\php\pear\DB\DataObjects\createTable.php example.ini\n\n", null , PEAR_ERROR_DIE );
$options = &PEAR ::getStaticProperty ('DB_DataObject','options');
$options = $config['DB_DataObject'];
PEAR ::raiseError ("\nERROR: could not read ini file\n\n", null , PEAR_ERROR_DIE );
DB_DataObject ::debugLevel (1 );
Documentation generated on Mon, 11 Mar 2019 14:30:41 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|