# tasks/ext/simpletest/SimpleTestFormatterElement.php

$Id: SimpleTestFormatterElement.php 552 2009-08-29 12:18:13Z mrook $

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

This software consists of voluntary contributions made by many individuals and is licensed under the LGPL. For more information please see http://phing.info.

## \SimpleTestFormatterElement
jump to top

Package: phing\tasks\ext\simpletest

Child class of "FormatterElement", overrides setType to provide other formatter classes for SimpleTest

Parent(s)
  \FormatterElement
Author
  Michiel Rook
Since
  2.2.0
Version
  $Id: SimpleTestFormatterElement.php 552 2009-08-29 12:18:13Z mrook $

### Properties

`$formatter= 'NULL'`
inherited Inherited from: \FormatterElement::$formatter
Default value `NULL` Details

Type
Inherited_from
  \FormatterElement::$formatter

`$outfile= '""'`
inherited Inherited from: \FormatterElement::$outfile
Default value`""`Details

Type
Inherited_from
  \FormatterElement::$outfile

`$parent= 'NULL'`
inherited Inherited from: \FormatterElement::$parent
Default value `NULL` Details

Type
Inherited_from
  \FormatterElement::$parent

`$toDir= '"."'`
inherited Inherited from: \FormatterElement::$toDir
Default value`"."`Details

Type
Inherited_from
  \FormatterElement::$toDir

`$type= '""'`
inherited Inherited from: \FormatterElement::$type
Default value`""`Details

Type
Inherited_from
  \FormatterElement::$type

`$useFile= 'true'`
inherited Inherited from: \FormatterElement::$useFile
Default value `true` Details

Type
Inherited_from
  \FormatterElement::$useFile

### Methods

`getExtension( ) : string`
inherited

Returns extension

Inherited from: \FormatterElement::getExtension()
Returns

Type | Description
--- | ---
string |

`getFormatter( ) : \PHPUnitResultFormatter`
inherited

Returns formatter object

Inherited from: \FormatterElement::getFormatter()
Returns

Type | Description
--- | ---
\PHPUnitResultFormatter |

`getOutfile( ) : string`
inherited

Returns output filename

Inherited from: \FormatterElement::getOutfile()
Returns

Type | Description
--- | ---
string |

`getToDir( ) : string`
inherited

Returns output directory

Inherited from: \FormatterElement::getToDir()
Returns

Type | Description
--- | ---
string |

`getUseFile( ) : void`
inherited

Returns whether to store formatting results in a file

Inherited from: \FormatterElement::getUseFile()
`setClassName( $className ) : void`
inherited

Loads a specific formatter class

Inherited from: \FormatterElement::setClassName()
Parameters

Name | Type | Description
--- | --- | ---
$className |  |

`setOutfile( string $outfile ) : void`
inherited

Sets output filename

Inherited from: \FormatterElement::setOutfile()
Parameters

Name | Type | Description
--- | --- | ---
$outfile | string |

`setParent( \Task $parent ) : void`
inherited

Sets parent task

Inherited from: \FormatterElement::setParent()
Parameters

Name | Type | Description
--- | --- | ---
$parent | \Task | Calling Task

`setToDir( string $toDir ) : void`
inherited

Sets output directory

Inherited from: \FormatterElement::setToDir()
Parameters

Name | Type | Description
--- | --- | ---
$toDir | string |

`setType( string $type ) : void`

Loads a specific formatter type

Parameters

Name | Type | Description
--- | --- | ---
$type | string |

`setUseFile( $useFile ) : void`
inherited

Sets whether to store formatting results in a file

Inherited from: \FormatterElement::setUseFile()
Parameters

Name | Type | Description
--- | --- | ---
$useFile |  |

Documentation was generated by DocBlox 0.15.1.