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 Variables

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 500]
CompositeWhereClause that does an OR on all its child WhereClauses.

Use the add() method and/or the constructor 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


constructor OrWhereClause [line 514]

OrWhereClause OrWhereClause( WhereClause $whereClause,...)

Creates a new OrWhereClause



Parameters:

WhereClause   $whereClause,...   optional unlimited list of WhereClause objects to be added

[ Top ]

method testRow [line 502]

void testRow( mixed $tablerow)



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

[ Top ]


Documentation generated on Sat, 5 Mar 2005 02:26:26 +0000 by phpDocumentor 1.3.0RC3