Class RdqlDbEngine

Description

This class performs as RDQL query on a DbModel.

Provided an rdql query parsed into an array of php variables and constraints at first the engine generates an sql statement and queries the database for tuples matching all patterns from the WHERE clause of the given RDQL query. Subsequently the result set is is filtered with evaluated boolean expressions from the AND clause of the given RDQL query.

  • author: Radoslaw Oldakowski <radol@gmx.de>
  • version: $Id: RdqlDbEngine.html 443 2007-06-01 16:25:38Z cax $
  • access: public

Located in /rdql/RdqlDbEngine.php (line 23)

Object
   |
   --RdqlEngine
      |
      --RdqlDbEngine
Method Summary
array &queryModel ( &$dbModel, array &$parsedQuery, [boolean $returnNodes = TRUE], object DbModel $dbModel)
Methods
queryModel (line 80)

Perform an RDQL Query on the given DbModel.

  • return: [][?VARNAME] = object Node (if $returnNodes = TRUE) OR array [][?VARNAME] = string
  • access: public
array &queryModel ( &$dbModel, array &$parsedQuery, [boolean $returnNodes = TRUE], object DbModel $dbModel)
  • object DbModel $dbModel
  • array &$parsedQuery: (the same format as $this->parsedQuery)
  • boolean $returnNodes
  • &$dbModel

Inherited Methods

Inherited From Object

Object::toString()

Documentation generated on Fri, 1 Jun 2007 16:51:04 +0200 by phpDocumentor 1.3.2