DB_Table
[ class tree: DB_Table ] [ index: DB_Table ] [ all elements ]

File: Generator.php

Source Location: /DB_Table-1.5.6/DB/Table/Generator.php

Classes:

DB_Table_Generator
class DB_Table_Generator - Generates DB_Table subclass skeleton code

Page Details:

DB_Table_Generator - Generates DB_Table subclass skeleton code

Parts of this class were adopted from the DB_DataObject PEAR package.

PHP versions 4 and 5

LICENSE:

Copyright (c) 1997-2007, Paul M. Jones <pmjones@php.net> Alan Knowles <alan@akbkhome.com> David C. Morse <morse@php.net> Mark Wiesemann <wiesemann@php.net> All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * The names of the authors may not be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Includes:

require_once('PEAR.php') [line 61]
The PEAR class (used for errors)

Include basic classes

require_once('DB/Table.php') [line 66]
DB_Table table abstraction class

Include basic classes

require_once('DB/Table/Manager.php') [line 71]
DB_Table_Manager class (used to reverse engineer indices)

Include basic classes


DB_TABLE_GENERATOR_ERR_DB_OBJECT [line 83]

DB_TABLE_GENERATOR_ERR_DB_OBJECT = -301
Parameter is not a DB/MDB2 object

Error codes


[ Top ]



DB_TABLE_GENERATOR_ERR_FILE [line 93]

DB_TABLE_GENERATOR_ERR_FILE = -303
Error while creating file/directory

Error codes


[ Top ]



DB_TABLE_GENERATOR_ERR_INDEX_COL [line 88]

DB_TABLE_GENERATOR_ERR_INDEX_COL = -302
Parameter is not a DB/MDB2 object

Error codes


[ Top ]



Documentation generated on Mon, 11 Mar 2019 15:28:00 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.