|
Class: DatabaseTable
Source Location: Program_Root/Database/Table.php
DatabaseTable is an extension of the Database class, which provides high-level functions, such as fetchAll(), that aim to lessen the need to type common queries out each time you use them.
Author(s)
Version
- 1.4, 2002-01-14, $Id: Table.php,v 1.3 2005/07/06 15:30:56 lux Exp $
Copyright
- Copyright (C) 2001-2003, Simian Systems Inc.
|
|
|
Child Classes
|
Inherited Variables
|
Inherited Methods
|
Class Details
Class Variables
$accessfield = ''
[line 210]
Contains the column to search for access level values in the Sitellite CMS database manager.
Tags:
$add_form_message = ''
[line 228]
Contains the message to use for displaying the Add Record form in the Sitellite CMS.
Tags:
$add_form_template = ''
[line 219]
Contains the template to use for displaying the Add Record form in the Sitellite CMS.
Tags:
$alt = ''
[line 155]
An alternate name to display for this table, which makes it nicer to read for people. By default the $alt is the $name with underscores converted to spaces and the first letter (of the first word only) capitalized.
Tags:
$columns = array ()
[line 135]
An array of MailForm widgets created based on the $info data.
Tags:
$datefield = ''
[line 164]
Contains the column to search for date values in the Sitellite CMS database manager.
Tags:
$db =
[line 78]
Contains a reference to the database connection resource.
Tags:
$edit_form_message = ''
[line 246]
Contains the message to use for displaying the Edit Record form in the Sitellite CMS.
Tags:
$edit_form_template = ''
[line 237]
Contains the template to use for displaying the Edit Record form in the Sitellite CMS.
Tags:
$errno =
[line 102]
Contains the error number if there is one, or false otherwise.
Tags:
$error =
[line 94]
Contains the error message if there is one, or false otherwise.
Tags:
$facets = array ()
[line 258]
$info = false
[line 127]
The unparsed info from the database about this table and its columns.
Tags:
$name =
[line 86]
The name of the table.
Tags:
$orderfield = ''
[line 191]
Contains the column to order search results by in the Sitellite CMS database manager.
Tags:
$pkey = false
[line 144]
The name of the primary key field. This property is also duplicated in the $primary_key property, which is a reference to this one.
Tags:
$queryfield = ''
[line 182]
Contains the column to search for any string values in the Sitellite CMS database manager.
Tags:
$rows =
[line 110]
The number of rows returned by the previous query.
Tags:
$sql =
[line 118]
The sql from the previous query, if an error occurred.
Tags:
$statusfield = ''
[line 173]
Contains the column to search for status values in the Sitellite CMS database manager.
Tags:
$treefield = ''
[line 201]
Contains the column that makes a self-reference (a reference to the primary key of its own table), which can be used in the Sitellite CMS database manager to show a tree representation of this table.
Tags:
$typemap = array ()
[line 256]
Contains a key/value list of database types (regular expressions are used here to save repeating ourselves) and their corresponding MailForm widget types. Used internally by the drivers.
Tags:
Class Methods
|
|