Class XML_Query2XML_Data_Condition

Description

Abstract class extended by all Data Condition Classes.

Such classes allow the implementation of a condition as to whether the return value of execute() is to be used.

Located in /Query2XML/Data/Condition.php (line 36)

XML_Query2XML_Data
   |
   --XML_Query2XML_Data_Processor
      |
      --XML_Query2XML_Data_Condition
Method Summary
boolean evaluateCondition (mixed $value)
mixed execute ( $record)
Methods
evaluateCondition (line 46)

Returns a boolean value indicating whether the return value of execute() is to be used.

  • abstract:
  • access: public
boolean evaluateCondition (mixed $value)
  • mixed $value: The return value of execute()
execute (line 57)

Called by XML_Query2XML for every record in the result set.

  • return: Whatever is returned by the pre-processor.
  • throws: XML_Query2XML_ConfigException Bubbles up if no pre-processor was set.
  • access: public
mixed execute ( $record)
  • array $record: An associative array.

Inherited Methods

Inherited From XML_Query2XML_Data_Processor

XML_Query2XML_Data_Processor::__construct()
XML_Query2XML_Data_Processor::getFirstPreProcessor()
XML_Query2XML_Data_Processor::getPreProcessor()
XML_Query2XML_Data_Processor::runPreProcessor()
XML_Query2XML_Data_Processor::setPreProcessor()
XML_Query2XML_Data_Processor::toString()

Documentation generated on Sun, 03 Apr 2011 13:13:07 +0200 by phpDocumentor 1.4.1