Previous Next
RSDEngine - The Rapid and Secure Development Engine RSErrorManager

RSDTable

Introduction

RSDTable is the base class for all RSDTable classes created for a specific table.

Writing a Child Class

Every child class of RSDTable must implement the following methods:

  • getLabelColumn - Returns an SQL statement that can be used in a select query to retrieve a literal representation of this record.
  • isValid* - An isValid method for every column. Please see {@see RSDTable::getIsValidMethodName} on how a method must be named.
  • checkUniqueConstraints - Returns true if no unique constraints would be violated by using the array of assignments passed as argument for a INSERT or a UPDATE operation. Otherwise an instance of PEAR_Error is returned.

Previous Next
RSDEngine - The Rapid and Secure Development Engine RSErrorManager

Documentation generated on Mon, 8 Dec 2003 13:10:23 +0100 by phpDocumentor 1.2.3