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

Class: OrWhereClause

Source Location: /flatfile.php

Class Overview

WhereClause
   |
   --CompositeWhereClause
      |
      --OrWhereClause

CompositeWhereClause that does an OR on all its child WhereClauses.


Methods


Inherited Methods

Class: CompositeWhereClause

CompositeWhereClause::add()
Add a WhereClause to the list of clauses to be used for testing

Class: WhereClause

WhereClause::testRow()
Tests a table row object

Class Details

[line 415]
CompositeWhereClause that does an OR on all its child WhereClauses.

Use the add() method to add WhereClause objects to the list of clauses to check. The testRow function of the resulting object will then return true if any of its child clauses return true (and returns false if no clauses have been added for consistency with that statement).




[ Top ]


Class Methods


method testRow [line 417]

void testRow( mixed $tablerow)



Overrides WhereClause::testRow() (Tests a table row object)

[ Top ]


Documentation generated on Mon, 28 Feb 2005 23:04:36 +0000 by phpDocumentor 1.3.0RC3