File/tgcSqlBuilder.php

Description

$Id: tgcSqlBuilder. Class that helps you to generate sql-statements without handling string concatenation.

$Id: tgcSqlBuilder.php,v 1.1.1.1 2004/02/14 01:43:19 luckec Exp $ Class that helps you to generate sql-statements without handling string concatenation.

Classes
Class Description
 class tgcSqlBuilder Class that helps you to generate sql-statements without handling string concatenation.
Includes
 require_once ('DB.php') (line 22)

Uses PEAR::DB

Uses PEAR::DB

 require_once ('PEAR.php') (line 17)

Uses PEAR error-management

Uses PEAR error-management

Constants
SQLBUILDER_COMP_BETWEEN = 'BETWEEN' (line 108)

BETWEEN

BETWEEN

  • access: public
SQLBUILDER_COMP_CONTAINS = '_LIKE_' (line 94)

contains

contains

  • access: public
SQLBUILDER_COMP_ENDSWITH = '_LIKE' (line 101)

ends with

ends with

  • access: public
SQLBUILDER_COMP_EQUAL = '=' (line 45)

equal

equal

  • access: public
SQLBUILDER_COMP_GREATER_EQUAL = '>=' (line 73)

greater equal

greater equal

  • access: public
SQLBUILDER_COMP_GREATER_THAN = '>' (line 80)

greater than

greater than

  • access: public
SQLBUILDER_COMP_LESSER_EQUAL = '<=' (line 66)

lesser equal

lesser equal

  • access: public
SQLBUILDER_COMP_LESSER_THAN = '<' (line 59)

lesser than

lesser than

  • access: public
SQLBUILDER_COMP_NOT_EQUAL = '<>' (line 52)

equal

equal

  • access: public
SQLBUILDER_COMP_STARTSWITH = 'LIKE_' (line 87)

starts with

starts with

  • access: public
SQLBUILDER_ERROR_COLUMN_DOES_NOT_EXIST = 4 (line 150)

operation on a column that does not exist in object data (i.

operation on a column that does not exist in object data (i.e. remove)

  • access: public
SQLBUILDER_ERROR_INVALID_LOGICAL_OPERATOR = 5 (line 157)

the user specified an invalid logical operator

the user specified an invalid logical operator

  • access: public
SQLBUILDER_ERROR_INVALID_PARAMETER = 2 (line 136)

Wrong parameter for a method

Wrong parameter for a method

  • access: public
SQLBUILDER_ERROR_INVALID_PARAMETERCOUNT = 3 (line 143)

Wrong parametercount for a method

Wrong parametercount for a method

  • access: public
SQLBUILDER_ERROR_INVALID_PARAM_COMBO = 1 (line 129)

Invalid parameter cobination

Invalid parameter cobination

  • access: public
SQLBUILDER_ERROR_NO_TABLE_FOUND = 6 (line 164)

No table has been specified

No table has been specified

  • access: public
SQLBUILDER_LOGICAL_AND = 'AND' (line 115)

logical AND

logical AND

  • access: public
SQLBUILDER_LOGICAL_OR = 'OR' (line 122)

logical OR

logical OR

  • access: public
SQLBUILDER_ORDER_ASC = 'ASC' (line 31)

sorting direction: ascending

sorting direction: ascending

  • access: public
SQLBUILDER_ORDER_DESC = 'DESC' (line 38)

sorting direction: descending

sorting direction: descending

  • access: public

Documentation generated on Fri, 19 Nov 2004 23:54:05 +0100 by phpDocumentor 1.2.3