phing-tasks-ext-pdo
[ class tree: phing-tasks-ext-pdo ] [ index: phing-tasks-ext-pdo ] [ all elements ]

Class: PDOResultFormatter

Source Location: /tasks/ext/pdo/PDOResultFormatter.php

Class Overview


Abstract


Author(s):

Variables

Methods


Child classes:

PlainPDOResultFormatter
Plain text formatter for PDO results.
XMLPDOResultFormatter
XML formatter for PDO results.

Class Details

[line 31]
Abstract



Tags:

author:  Hans Lellelid <hans@xmpl.org>
abstract:  
since:  2.3.0


[ Top ]


Class Variables

$out =

[line 38]

Output writer.



Tags:

access:  protected

Type:   Writer


[ Top ]



Class Methods


method close [line 81]

void close( )

Perform any final tasks and Close the writer.



Tags:

access:  public


Overridden in child classes as:

XMLPDOResultFormatter::close()
Write XML to file and free the DOM objects.

[ Top ]

method getOutput [line 54]

Writer getOutput( )

Gets the output writer.



Tags:

access:  public


[ Top ]

method getPreferredOutfile [line 62]

string getPreferredOutfile( )

Gets the preferred output filename for this formatter.



Tags:

abstract:  
access:  public


Overridden in child classes as:

PlainPDOResultFormatter::getPreferredOutfile()
XMLPDOResultFormatter::getPreferredOutfile()
Gets a preferred filename for an output file.

[ Top ]

method initialize [line 67]

void initialize( )

Perform any initialization.



Tags:

access:  public


Overridden in child classes as:

XMLPDOResultFormatter::initialize()

[ Top ]

method processRow [line 76]

void processRow( array $row)

Processes a specific row from PDO result set.



Tags:

abstract:  
access:  public


Overridden in child classes as:

PlainPDOResultFormatter::processRow()
Processes a specific row from PDO result set.
XMLPDOResultFormatter::processRow()
Processes a specific row from PDO result set.

Parameters:

array   $row   Row of PDO result set.

[ Top ]

method setOutput [line 45]

void setOutput( $out)

Sets the output writer.



Tags:

access:  public


Parameters:

Writer   $out  

[ Top ]


Documentation generated on Mon, 19 Oct 2009 10:51:25 +0200 by phpDocumentor 1.4.3