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 657]
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).




[ Top ]


Class Methods


constructor OrWhereClause [line 671]

OrWhereClause OrWhereClause( WhereClause $whereClause,...)

Creates a new OrWhereClause



Parameters:

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

[ Top ]

method testRow [line 659]

void testRow( $tablerow, [ $rowSchema = null])



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

Parameters:

   $tablerow  
   $rowSchema  

[ Top ]


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