Factory method
-
array
$resultSet: An index array of associative arrays. This argument is optional.
-
string
$resultSetName: The name of the result set. This argument is optional. The default is an empty string.
Redefinition of:
- XML_Query2XML_Driver::factory()
- Factory method.
Add a named result set.
void
addResultSet
(string $name, $resultSet)
-
string
$name: The name of the result set.
-
array
$resultSet: An indexed array of associative arrays.
Returns all records from a named result set.
array
getAllRecords
(array $query, string $configPath)
-
array
$query: An array with at least one element: 'query'.
-
string
$configPath: The configuration path.
Redefinition of:
- XML_Query2XML_Driver::getAllRecords()
- This method, when implemented executes the query passed as the first argument and returns all records from the result set.
Remove a named result set.
void
removeResultSet
(string $name)
-
string
$name: The name of the result set to remove
Inherited Methods
Inherited From XML_Query2XML_Driver
XML_Query2XML_Driver::factory()
XML_Query2XML_Driver::getAllRecords()
XML_Query2XML_Driver::preprocessQuery()