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

Procedural File: flatfile.php

Source Location: /flatfile.php



Classes:

Flatfile
Provides simple but powerful flatfile database storage and retrieval
WhereClause
Used to test rows in a database table, like the WHERE clause in an SQL statement.
NotWhere
Negates a where clause
SimpleWhereClause
Implements a single WHERE clause that does simple comparisons of a field with a value.
LikeWhereClause
WhereClause class to work like a SQL 'LIKE' clause
ListWhereClause
WhereClause class to match a value from a list of items
CompositeWhereClause
Abstract class that combines zero or more WhereClause objects together.
OrWhereClause
CompositeWhereClause that does an OR on all its child WhereClauses.
AndWhereClause
CompositeWhereClause that does an AND on all its child WhereClauses.
OrderBy
Stores information about an ORDER BY clause


Page Details:

Simple but powerful flatfile database See https://lukeplant.me.uk/resources/flatfile/ for documentation and examples



Tags:



Includes:

require_once('flatfile_utils.php') [line 30]





ASCENDING [line 42]

ASCENDING = 1
Indicates ascending order


[ Top ]



DEFAULT_COMPARISON [line 33]

DEFAULT_COMPARISON = ''
Used to indicate the default comparison should be done, which is STRING_COMPARISON in the absence of a schema, or whatever the schema specifies if one has been added


[ Top ]



DESCENDING [line 44]

DESCENDING = -1
Indicates descending order


[ Top ]



INTEGER_COMPARISON [line 37]

INTEGER_COMPARISON = 'intcmp'
Used to indicate a comparison should be done as an integer comparison


[ Top ]



NUMERIC_COMPARISON [line 39]

NUMERIC_COMPARISON = 'numcmp'
Used to indicate a comparison should be done as a numeric (float) comparison


[ Top ]



STRING_COMPARISON [line 35]

STRING_COMPARISON = 'strcmp'
Used to indicate a comparison should be done as a string comparison


[ Top ]




get_comparison_type_for_col_type [line 53]

void get_comparison_type_for_col_type( $coltype)



Parameters

   $coltype  
[ Top ]



intcmp [line 393]

void intcmp( $a, $b)

equivalent of strcmp for comparing integers, used internally for sorting and comparing



Parameters

   $a  
   $b  
[ Top ]



numcmp [line 401]

void numcmp( $a, $b)

equivalent of strcmp for comparing floats, used internally for sorting and comparing



Parameters

   $a  
   $b  
[ Top ]



Documentation generated on Sun, 25 Oct 2009 22:30:46 +0000 by phpDocumentor 1.4.3