classes/phing/tasks/ext/pdo/XMLPDOResultFormatter.php
\XMLPDOResultFormatter
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.
- Extends from
- \PDOResultFormatter
- author
- Hans Lellelid
- package
- phing.tasks.ext.pdo
- since
- 2.3.0
Properties
Methods

getPreferredOutfile(
)
:
stringGets 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
)
:
Processes a specific row from PDO result set.
| Name | Type | Description |
|---|---|---|
| $row | array | Row of PDO result set. |

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