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

Class: AndWhereClause

Source Location: /flatfile.php

Class Overview

WhereClause
   |
   --CompositeWhereClause
      |
      --AndWhereClause

CompositeWhereClause that does an AND 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 686]
CompositeWhereClause that does an AND 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 false if any of its child clauses return false (and returns true if no clauses have been added for consistency).




[ Top ]


Class Methods


constructor AndWhereClause [line 700]

AndWhereClause AndWhereClause( WhereClause $whereClause,...)

Creates a new AndWhereClause



Parameters:

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

[ Top ]

method testRow [line 688]

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:46 +0000 by phpDocumentor 1.4.3