Class XML_Query2XML_Data_Processor

Description

Abstract class extended by all Data Processor Classes.

Located in /Query2XML/Data/Processor.php (line 33)

XML_Query2XML_Data
   |
   --XML_Query2XML_Data_Processor
Direct descendents
Class Description
XML_Query2XML_Data_Condition Abstract class extended by all Data Condition Classes.
Method Summary
XML_Query2XML_Data_Processor __construct ([ $preProcessor = null])
XML_Query2XML_Data getFirstPreProcessor ()
mixed getPreProcessor ()
mixed runPreProcessor ( $record)
void setPreProcessor (mixed $preProcessor)
string toString ()
Methods
Constructor __construct (line 47)

Constructor.

  • access: public
XML_Query2XML_Data_Processor __construct ([ $preProcessor = null])
  • XML_Query2XML_Data $preProcessor: The pre-processor to be used. This argument is optional.
getFirstPreProcessor (line 81)

Returns the first pre-processor in the chain.

  • access: public
XML_Query2XML_Data getFirstPreProcessor ()
getPreProcessor (line 71)

Returns the pre-processor.

  • return: XML_Query2XML_Data or null
  • access: public
mixed getPreProcessor ()
runPreProcessor (line 97)

Runs the pre-processor if one was defined and returns it's return value.

  • return: Whatever was returned by the pre-processor
  • throws: XML_Query2XML_ConfigException If no pre-processor was defined.
  • access: protected
mixed runPreProcessor ( $record)
  • array $record: The record to process - this is an associative array.
setPreProcessor (line 61)

Allows the pre-processor to be set (or changed) after an instance was created.

  • access: public
void setPreProcessor (mixed $preProcessor)
  • mixed $preProcessor: The pre-processor to be used. An instance of XML_Query2XML_Data or null.
toString (line 117)

Returns a textual representation of this instance.

This might be useful for debugging.

  • access: public
string toString ()

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