# tasks/system/XsltTask.php

## \XsltTask
jump to top

Package: phing\tasks\system

Implements an XSLT processing filter while copying files.

This is a shortcut for calling the task with the XSLTFilter used in the section.

Parent(s)
  \CopyTask < \Task < \ProjectComponent
Author
  Andreas Aderhold, andi@binarycloud.com
Version
  $Id: XsltTask.php 526 2009-08-11 12:11:17Z mrook $

### Properties

`$parameters= 'array()'`

Parameters to pass to XSLT procesor.

Default value `array()`Details

Type
  n/a

`$xsltFilter= ''`

XSLTFilter object that we use to handle transformation.

Details

Type
  n/a

### Methods

`__construct( ) : void`

`createFileList( ) : void`

`createFileSet( ) : void`

`createFilterChain( ) : void`

`createMapper( ) : void`

`createParam( ) : \XSLTParam`

Support nested tags useing XSLTParam class.

Returns

Type | Description
--- | ---
\XSLTParam |

`doWork( ) : void`

`getDescription( ) : void`

`getLocation( ) : void`

`getOwningTarget( ) : void`

`getProject( ) : void`

`getRegisterSlot( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`init( ) : void`

Setup the filterchains w/ XSLTFilter that we will use while copying the files.

`log( ) : void`

`logError( ) : void`

`main( ) : void`

Set any XSLT Param and invoke CopyTask::main()

Details

See
  \CopyTask::main()

`maybeConfigure( ) : void`

`perform( ) : void`

`setDescription( ) : void`

`setFile( ) : void`

`setHaltonerror( ) : void`

`setIncludeEmptyDirs( ) : void`

`setLocation( ) : void`

`setMode( ) : void`

`setOverwrite( ) : void`

`setOwningTarget( ) : void`

`setPreserveLastModified( ) : void`

`setProject( ) : void`

`setResolveDocumentExternals( bool $resolveExternals ) : void`

Whether to resolve entities in the XML document.

Parameters

Name | Type | Description
--- | --- | ---
$resolveExternals | bool |

Details

Since
  2.4

`setResolveStylesheetExternals( bool $resolveExternals ) : void`

Whether to resolve entities in the stylesheet.

Parameters

Name | Type | Description
--- | --- | ---
$resolveExternals | bool |

Details

Since
  2.4

`setRuntimeConfigurableWrapper( ) : void`

`setStyle( \PhingFile $style ) : void`

Set the stylesheet to use.

Parameters

Name | Type | Description
--- | --- | ---
$style | \PhingFile |

`setTaskName( ) : void`

`setTaskType( ) : void`

`setTodir( ) : void`

`setTofile( ) : void`

`setTstamp( ) : void`

`setVerbose( ) : void`

`validateAttributes( ) : void`

Documentation was generated by DocBlox 0.17.1.