# tasks/ext/UnzipTask.php

## \UnzipTask
jump to top

Package: phing\tasks\ext

Extracts one or several zip archives using ZipArchive class.

Parent(s)
  \ExtractBaseTask < \MatchingTask < \Task < \ProjectComponent
Author
  Joakim Bodin
Author
  George Miroshnikov
Version
  $Id: UnzipTask.php 526 2009-08-11 12:11:17Z mrook $

### Methods

`__construct( ) : void`

`appendSelector( ) : void`

`createAnd( ) : void`

`createContains( ) : void`

`createCustom( ) : void`

`createDate( ) : void`

`createDepend( ) : void`

`createDepth( ) : void`

`createExclude( ) : void`

`createExcludesFile( ) : void`

`createFileSet( ) : void`

`createFilename( ) : void`

`createInclude( ) : void`

`createIncludesFile( ) : void`

`createMajority( ) : void`

`createNone( ) : void`

`createNot( ) : void`

`createOr( ) : void`

`createPatternSet( ) : void`

`createPresent( ) : void`

`createSelector( ) : void`

`createSize( ) : void`

`extractArchive( \PhingFile $zipfile ) : boolean`

Extract archive content into $this->todir directory

Parameters

Name | Type | Description
--- | --- | ---
$zipfile | \PhingFile | Zip file to extract

Returns

Type | Description
--- | ---
boolean |

`getDescription( ) : void`

`getDirectoryScanner( ) : void`

`getImplicitFileSet( ) : void`
final

`getLocation( ) : void`

`getOwningTarget( ) : void`

`getProject( ) : void`

`getRegisterSlot( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getSelectors( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`hasSelectors( ) : void`

`init( ) : void`

`isDestinationUpToDate( ) : void`

`listArchiveContent( \PhingFile $zipfile ) : array`

List archive content

Parameters

Name | Type | Description
--- | --- | ---
$zipfile | \PhingFile | Zip file to list content

Returns

Type | Description
--- | ---
array | List of files inside $zipfile

`log( ) : void`

`main( ) : void`

`maybeConfigure( ) : void`

`perform( ) : void`

`selectorCount( ) : void`

`selectorElements( ) : void`

`setCaseSensitive( ) : void`

`setDefaultexcludes( ) : void`

`setDescription( ) : void`

`setExcludes( ) : void`

`setExcludesfile( ) : void`

`setFile( ) : void`

`setFollowSymlinks( ) : void`

`setForceExtract( ) : void`

`setIncludes( ) : void`

`setIncludesfile( ) : void`

`setLocation( ) : void`

`setOwningTarget( ) : void`

`setProject( ) : void`

`setRemovePath( ) : void`

`setRuntimeConfigurableWrapper( ) : void`

`setTaskName( ) : void`

`setTaskType( ) : void`

`setToDir( ) : void`

`validateAttributes( ) : void`

Documentation was generated by DocBlox 0.17.1.