File: /db.inc.php

Description

Classes defined in this file

CLASS NAME

DESCRIPTION

Field Encapsulates a table field
CustomConnection CustomConnection, a common ancestor for all Connection objects
EDatabaseError Exception for a DatabaseError
DataSet DataSet component, base class to inherit and create dataset components
Datasource DataSource provides an interface between a dataset component and data-aware controls on a form.

Include/Require Statements

Global Variables

Constants

daAbort (line 30)

daAbort : 'daAbort'

daFail (line 29)

daFail : 'daFail'

This file is part of the VCL for PHP project

Copyright (c) 2004-2008 qadram software S.L. <support@qadram.com>

Checkout AUTHORS file for more information on the developers

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

deCheckBrowseMode (line 485)

deCheckBrowseMode : 8

deConnectChange (line 490)

deConnectChange : 13

deDataSetChange (line 480)

deDataSetChange : 3

deDataSetScroll (line 481)

deDataSetScroll : 4

deDisabledStateChange (line 492)

deDisabledStateChange : 15

deFieldChange (line 478)

deFieldChange : 1

deFieldListChange (line 487)

deFieldListChange : 10

deFocusControl (line 488)

deFocusControl : 11

deLayoutChange (line 482)

deLayoutChange : 5

deParentScroll (line 489)

deParentScroll : 12

dePropertyChange (line 486)

dePropertyChange : 9

deReconcileError (line 491)

deReconcileError : 14

deRecordChange (line 479)

deRecordChange : 2

deUpdateRecord (line 483)

deUpdateRecord : 6

deUpdateState (line 484)

deUpdateState : 7

dsBlockRead (line 504)

dsBlockRead : 11

dsBrowse (line 495)

dsBrowse : 2

dsCalcFields (line 499)

dsCalcFields : 6

dsCurValue (line 503)

dsCurValue : 10

dsEdit (line 496)

dsEdit : 3

dsFilter (line 500)

dsFilter : 7

dsInactive (line 494)

dsInactive : 1

dsInsert (line 497)

dsInsert : 4

dsInternalCalc (line 505)

dsInternalCalc : 12

dsNewValue (line 501)

dsNewValue : 8

dsOldValue (line 502)

dsOldValue : 9

dsOpening (line 506)

dsOpening : 13

dsSetKey (line 498)

dsSetKey : 5

Functions

databaseError (line 531)

void databaseError( string $message, [Component $component = null])

Function to raise a Database Error

Call DatabaseError to raise an EDatabaseError exception, using Message as the text for the exception. If a component is provided as the second parameter, the message is prefixed by the name of the component to help in interpreting the error message.

Calling DatabaseError rather than creating and raising the exception directly in code reduces the overall code size of the application.

Parameters

  • string $message: Message of the exception to show
  • Component $component: Component is raising the exception

Info



Documentation generated on Fri, 26 Dec 2008 11:44:33 +0100 by phpDocumentor 1.4.0a2