tasks/ext/pdo/XMLPDOResultFormatter.php
\XMLPDOResultFormatter
Package: phing\tasks\ext\pdo
Returns
XML formatter for PDO results.
This class reprsents the output of a query using a simple XML schema.
The actual names of the colums will depend on the fetchmode that was used with PDO.
- Parent(s)
- \PDOResultFormatter
- Author
- Hans Lellelid
- Since
- 2.3.0
Properties
Methods


getPreferredOutfile(
)
:
string
Gets a preferred filename for an output file.
If no filename is specified, this is where the results will be placed (unless usefile=false).
Type | Description |
---|---|
string |


processRow(
array $row
)
:
void
Processes a specific row from PDO result set.
Parameters
Name | Type | Description |
---|---|---|
$row | array | Row of PDO result set. |


setEncoding(
string $v
)
:
void
Set the DOM document encoding.
Parameters
Name | Type | Description |
---|---|---|
$v | string |