midcom_services_indexer_XMLComm_RequestWriterThis class provides an interface to the MRFC 14 XML driven indexer backends.
This class is responsible for producing an XML Request file.
...
Located in /midcom/services/indexer/XMLCommClient.php (line 24)
midcom_services_indexer_XMLComm_RequestWriter
midcom_services_indexer_XMLComm_RequestWriter
([string $index_name = null])
Initialize an XMLComm Request Writer.
All double-quotes will be silently removed from the index name.
Adds a delete request.
Adds a drop index request.
Index one or more documents.
Add a query to the request.
Surrounds the request data with an xml header and the request tags and returns the result.
Removes all control characters except LF from the content, as this might throw the indexer off-track (valid XML and the like).
WARNING: This function could break UTF-8 sequences right now, I'm on the lookout for a better regex, as I do not know if the /u pattern modifier is enough. I just hope so.
Encodes an argument masking both single and double quotes.
Encodes a string using CDATA encoding.
Documentation generated on Mon, 21 Nov 2005 18:25:01 +0100 by phpDocumentor 1.3.0RC3