Constants

PHPUnit_MAIN_METHOD

« More »

PHP_CLASSPATH

« More »

Classes, interfaces and traits

DirSetAware

« More »

FileListAware

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.

« More »

FileSetAware

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.

« More »

FilterChainAware

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.

« More »

ResourceAware

Trait ResourceAware

« More »

SelectorAware

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.

« More »

BuildListener

Interface for build listeners.

Classes that implement a listener must extend this class and (faux)implement all methods that are decleard as dummies below.

« More »

BuildLogger

Interface for build loggers.

Build loggers are build listeners but with some additional functionality:

  • They can be configured with a log level (below which they will ignore messages)
  • They have error and output streams

Classes that implement a listener must implement this interface.

« More »

ChainableReader

Interface indicating that a reader may be chained to another one.

« More »

Clock

« More »

Condition

Condition interface specification:

Each condition must implement a method applying to this prototye:

« More »

CustomChildCreator

Interface for elements that want to be able to create custom child elements at runtime.

« More »

Dispatchable

Classes implementing this interface specify the name of the parameter that contains the name of the task's method to execute.

« More »

ExtendFileSelector

This is the interface to be used by all custom selectors, those that are called through the <custom> tag. It is the amalgamation of two interfaces, the FileSelector and the Parameterizable interface. Note that you will almost certainly want the default behaviour for handling Parameters, so you probably want to use the BaseExtendSelector class as the base class for your custom selector rather than implementing this interface from scratch.

« More »

FileNameMapper

Interface for filename mapper classes.

« More »

FileParserFactoryInterface

This interface can be used to implement a fileParserFactory to create FileParsers based on config.

Currently it is used in the PropertyTask to deliver the correct parser based on filetype.

« More »

FileParserInterface

This interface can be used to implement a fileParser for property files.

For example: You can implement a .ini-Fileparser or .yaml/.xml/.php.

« More »

FileSelector

This is the interface to be used by all selectors.

« More »

InputHandler

Plugin to Phing to handle requests for user input.

« More »

Parameterizable

Parameterizable objects take genric key value pairs.

« More »

RegexpEngine

Contains some shared attributes and methods -- and some abstract methods with engine-specific implementations that sub-classes must override.

« More »

SelectorContainer

This is the interface for selectors that can contain other selectors.

« More »

SelectorScanner

An interface used to describe the actions required by any type of directory scanner that supports Selecters.

« More »

StreamRequiredBuildLogger

Interface for build loggers that require that out/err streams be set in order to function.

This is just an empty sub-interface to BuildLogger, but is used by Phing to throw graceful errors when classes like phing.listener.DefaultLogger are being used as -listener.

« More »

SubBuildListener

Instances of classes that implement this interface can register to be also notified when things happened during a subbuild.

A subbuild is a separate project instance created by the <phing> task family. These project instances will never fire the buildStarted and buildFinished events, but they will fire subBuildStarted/ and subBuildFinished. The main project instance - the one created by running Phing in the first place - will never invoke one of the methods of this interface.

« More »

TaskContainer

Abstract interface for objects which can contain tasks (targets) Used to check if a class can contain tasks (via instanceof)

« More »

AbstractFileSet

The FileSet class provides methods and properties for accessing and managing filesets. It extends ProjectComponent and thus inherits all methods and properties (not explicitly declared). See ProjectComponent for further detail.

TODO:

  • merge this with patternsets: FileSet extends PatternSet !!! requires additional mods to the parsing algo [HL] .... not sure if that really makes so much sense. I think that perhaps they should use common utility class if there really is that much shared functionality
« More »

AbstractHandler

This is an abstract class all SAX handler classes must extend

« More »

AbstractLiquibaseTask

Abstract Liquibase task. Base class for all Liquibase Phing tasks.

Use \Project#createTask to register a new Task.

« More »

AbstractPHPLocFormatter

« More »

AbstractPropertySetterTask

The base class for all Tasks.

Use \Project#createTask to register a new Task.

« More »

AbstractSAXParser

The abstract SAX parser class.

This class represents a SAX parser. It is a abstract calss that must be implemented by the real parser that must extend this class

« More »

AbstractSelectorContainer

This is the base class for selectors that can contain other selectors.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

AdhocTask

Abstract class for creating adhoc Phing components in buildfile.

By itself this class can be used to declare a single class within your buildfile. You can then reference this class in any task that takes custom classes (selectors, mappers, filters, etc.)

Subclasses exist for conveniently declaring and registering tasks and types.

« More »

AdhocTaskdefTask

A class for creating adhoc tasks in build file.

bar = $bar; } function main() { $this->log("In FooTest: " . $this->bar); } } ]]>
« More »

AdhocTypedefTask

A class for creating adhoc datatypes in build file.

By itself this class can be used to declare a single class within your buildfile. You can then reference this class in any task that takes custom classes (selectors, mappers, filters, etc.)

Subclasses exist for conveniently declaring and registering tasks and types.

« More »

AndCondition

<and> condition container.

Iterates over all conditions and returns false as soon as one evaluates to false.

« More »

AndSelector

This selector has a collection of other selectors, all of which have to select a file in order for this selector to select it.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

AnsiColorLogger

Uses ANSI Color Code Sequences to colorize messages sent to the console.

If used with the -logfile option, the output file will contain all the necessary escape codes to display the text in colorized mode when displayed in the console using applications like cat, more, etc.

This is designed to work on terminals that support ANSI color codes. It works on XTerm, ETerm, Mindterm, etc. It also works on Win9x (with ANSI.SYS loaded.)

NOTE: It doesn't work on WinNT's COMMAND.COM even with ANSI.SYS loaded.

The default colors used for differentiating the message levels can be changed by editing the phing/listener/defaults.properties file.

This file contains 5 key/value pairs: AnsiColorLogger.ERROR_COLOR=2;31 AnsiColorLogger.WARNING_COLOR=2;35 AnsiColorLogger.INFO_COLOR=2;36 AnsiColorLogger.VERBOSE_COLOR=2;32 AnsiColorLogger.DEBUG_COLOR=2;34

Another option is to pass a system variable named ant.logger.defaults, with value set to the path of the file that contains user defined Ansi Color Codes, to the java command using -D option.

To change these colors use the following chart:

 <B>ANSI COLOR LOGGER CONFIGURATION</B>

Format for AnsiColorLogger.*= Attribute;Foreground;Background

Attribute is one of the following: 0 -> Reset All Attributes (return to normal mode) 1 -> Bright (Usually turns on BOLD) 2 -> Dim 3 -> Underline 5 -> link 7 -> Reverse 8 -> Hidden

Foreground is one of the following: 30 -> Black 31 -> Red 32 -> Green 33 -> Yellow 34 -> Blue 35 -> Magenta 36 -> Cyan 37 -> White

Background is one of the following: 40 -> Black 41 -> Red 42 -> Green 43 -> Yellow 44 -> Blue 45 -> Magenta 46 -> Cyan 47 -> White

« More »

ApiGenTask

ApiGen task (http://apigen.org).

Use \Project#createTask to register a new Task.

« More »

AppendTask

Appends text, contents of a file or set of files defined by a filelist to a destination file.

OR

OR

« More »

ApplyTask

Executes a command on the (filtered) file list/set.

(Loosely based on the "Ant Apply" task - http://ant.apache.org/manual/Tasks/apply.html)

« More »

Arg

Implementation of console argument

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

AttribTask

Changes the attributes of a file or all files inside specified directories.

Right now it has effect only under Windows. Each of the 4 possible permissions has its own attribute, matching the arguments for the attrib command.

Example:

   <attrib file="${input}" readonly="true" hidden="true" verbose="true"/>
« More »

AutoloaderTask

The base class for all Tasks.

Use \Project#createTask to register a new Task.

« More »

AvailableTask

<available> task.

Note: implements condition interface (see condition/Condition.php)

« More »

BaseExtendSelector

Convenience base class for all selectors accessed through ExtendSelector.

It provides support for gathering the parameters together as well as for assigning an error message and throwing a build exception if an error is detected.

« More »

BaseFilterReader

Base class for core filter readers.

« More »

Basename

Task that changes the permissions on a file/directory.

Use \Project#createTask to register a new Task.

« More »

BaseParamFilterReader

Base class for core filter readers.

« More »

BaseSelector

A convenience base class that you can subclass Selectors from. It provides some helpful common behaviour. Note that there is no need for Selectors to inherit from this class, it is only necessary that they implement FileSelector.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

BaseSelectorContainer

This is the base class for selectors that can contain other selectors.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

BatchTest

Scans a list of files given by the fileset attribute, extracts valid test cases

« More »

BlockForTask

Based on Apache Ant Block For:

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

« More »

BufferedReader

Convenience class for reading files.

« More »

BufferedWriter

Convenience class for writing files.

« More »

BuildEvent

Encapsulates a build specific event.

We have three sources of events all handled by this class:

  • Project level events
  • Target level events
  • Task level events

Events are all fired from the project class by creating an event object using this class and passing it to the listeners.

« More »

BuildException

BuildException is for when things go wrong in a build execution.

« More »

BuildTimeoutException

This exception is used to indicate timeouts.

« More »

CaseTask

"Inner" class for SwitchTask.

The sequential task has no attributes and does not support any nested elements apart from Ant tasks. Any valid Ant task may be embedded within the sequential task.

« More »

ChainedMapper

A <code>ContainerMapper</code> that chains the results of the first nested <code>FileNameMapper</code>s into sourcefiles for the second, the second to the third, and so on, returning the resulting mapped filenames from the last nested <code>FileNameMapper</code>.

« More »

ChainReaderHelper

Process a FilterReader chain.

Here, the interesting method is 'getAssembledReader'. The purpose of this one is to create a simple Reader object which apply all filters on another primary Reader object.

For example : In copyFile (phing.util.FileUtils) the primary Reader is a FileReader object (more accuratly, a BufferedReader) previously setted for the source file to copy. So, consider this filterchain :

<filterchain>
   <stripphpcomments />
   <linecontains>
       <contains value="foo">
   </linecontains>
 <tabtospaces tablength="8" />

getAssembledReader will return a Reader object wich read on each of these filters. Something like this : ('->' = 'which read data from') :

[TABTOSPACES] -> [LINECONTAINS] -> [STRIPPHPCOMMENTS] -> [FILEREADER] (primary reader)

So, getAssembledReader will return the TABTOSPACES Reader object. Then each read done with this Reader object will follow this path.

Hope this explanation is clear :)

TODO: Implement the classPath feature.

« More »

Character

« More »

ChmodTask

Task that changes the permissions on a file/directory.

Use \Project#createTask to register a new Task.

« More »

ChownTask

Task that changes the permissions on a file/directory.

Use \Project#createTask to register a new Task.

« More »

CloverPHPUnitResultFormatter

Prints Clover XML output of the test

« More »

CloverPHPUnitResultFormatter5

Prints Clover XML output of the test

« More »

Commandline

Commandline objects help handling command lines specifying processes to execute.

The class can be used to define a command line as nested elements or as a helper to define a command line by an application.

<someelement>
  <acommandline executable="/executable/to/run">
    <argument value="argument 1" />
    <argument line="argument_1 argument_2 argument_3" />
    <argument value="argument 4" />
  </acommandline>
</someelement>
The element someelement must provide a method createAcommandline which returns an instance of this class.

« More »

CommandlineArgument

"Inner" class used for nested xml command line definitions.

« More »

CommandlineMarker

Class to keep track of the position of an Argument.

This class is there to support the srcfile and targetfile elements of <execon> and <transform> - don't know whether there might be additional use cases.

--SB
« More »

Comment

The class that holds a comment representation.

« More »

ComponentHelper

Component creation and configuration

« More »

ComposerTask

Composer Task Run composer straight from phing

Use \Project#createTask to register a new Task.

« More »

CompositeMapper

A <code>ContainerMapper</code> that unites the results of its constituent <code>FileNameMapper</code>s into a single set of result filenames.

« More »

ConcatFilter

Concats a file before and/or after the file.

Example:

<copy todir="build">
    <fileset dir="src" includes="*.php"/>
    <filterchain>
        <concatfilter prepend="license.txt"/>
    </filterchain>
</copy>

Copies all php sources from src to build and adds the content of license.txt add the beginning of each file.

« More »

ConditionBase

Abstract baseclass for the <condition> task as well as several conditions - ensures that the types of conditions inside the task and the "container" conditions are in sync.

« More »

ConditionEnumeration

"Inner" class for handling enumerations.

Uses build-in PHP5 iterator support.

« More »

ConditionTask

<condition> task as a generalization of <available>

This task supports boolean logic as well as pluggable conditions to decide, whether a property should be set.

This task does not extend Task to take advantage of ConditionBase.

« More »

ConfigurationException

ConfigurationException is thrown by Phing during the configuration and setup phase of the project.

« More »

ConsoleInputHandler

Uses Symfony Console to present questions

« More »

ConsoleReader

Convenience class for reading console input.

« More »

ContainerMapper

A <code>FileNameMapper</code> that contains other <code>FileNameMapper</code>s.

« More »

Contains

Holds a contains element.

« More »

ContainsCondition

Is one string part of another string?

« More »

ContainsRegexpSelector

Selector that filters files based on whether they contain a particular string using regexp.

It provides support for gathering the parameters together as well as for assigning an error message and throwing a build exception if an error is detected.

« More »

ContainsSelector

Selector that filters files based on whether they contain a particular string.

It provides support for gathering the parameters together as well as for assigning an error message and throwing a build exception if an error is detected.

« More »

CopyTask

A phing copy task. Copies a file or directory to a new file or directory. Files are only copied if the source file is newer than the destination file, or when the destination file does not exist. It is possible to explicitly overwrite existing files.

Use \Project#createTask to register a new Task.

« More »

CoverageMerger

Saves coverage output of the test to a specified database

« More »

CoverageMergerTask

Merges code coverage snippets into a code coverage database

Use \Project#createTask to register a new Task.

« More »

CoverageReportTask

Transforms information in a code coverage database to XML

Use \Project#createTask to register a new Task.

« More »

CoverageReportTransformer

Transform a Phing/Xdebug code coverage xml report.

The default transformation generates an html report in framed style.

« More »

CoverageSetupTask

Initializes a code coverage database

Use \Project#createTask to register a new Task.

« More »

CoverageThresholdTask

Stops the build if any of the specified coverage threshold was not reached

Use \Project#createTask to register a new Task.

« More »

Crap4jPHPUnitResultFormatter

Prints Clover XML output of the test

« More »

Crap4jPHPUnitResultFormatter5

Prints Clover XML output of the test

« More »

CutDirsMapper

A mapper that strips of the a configurable number of leading directories from a file name.

« More »

DataStore

An abstract representation of file and directory pathnames.

« More »

DataType

Base class for those classes that can appear inside the build file as stand alone data types.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

DateSelector

Selector that chooses files based on their last modified date. Ant uses millisecond precision (thanks to Java); PHP is forced to use only seconds precision.

It provides support for gathering the parameters together as well as for assigning an error message and throwing a build exception if an error is detected.

« More »

DbDeployTask

Generate SQL script for db using dbdeploy schema version table and delta scripts

<dbdeploy url="mysql:host=localhost;dbname=test" userid="dbdeploy" password="dbdeploy" dir="db" outputfile="">

« More »

DbmsSyntax

Utility class for generating necessary server-specific SQL commands

« More »

DbmsSyntaxFactory

Factory for generating dbms-specific syntax-generating objects

« More »

DbmsSyntaxMsSql

Utility class for generating necessary server-specific SQL commands

« More »

DbmsSyntaxMysql

Utility class for generating necessary server-specific SQL commands

« More »

DbmsSyntaxOracle

Utility class for generating necessary server-specific SQL commands

« More »

DbmsSyntaxPgSQL

Utility class for generating necessary server-specific SQL commands

« More »

DbmsSyntaxSQLite

Utility class for generating necessary server-specific SQL commands

« More »

DefaultClock

« More »

DefaultLogger

Writes a build event to the console.

Currently, it only writes which targets are being executed, and any messages that get logged.

« More »

DefaultPDOQuerySplitter

Splits SQL source into queries using simple regular expressions

Extracted from PDOSQLExecTask::runStatements()

« More »

DefaultPHPCPDResultFormatter

Prints plain text output of phpcpd run

« More »

DeleteTask

Deletes a file or directory, or set of files defined by a fileset.

Use \Project#createTask to register a new Task.

« More »

DependSelector

Selector that filters files based on whether they are newer than a matching file in another directory tree. It can contain a mapper element, so isn't available as an ExtendSelector (since those parameters can't hold other elements).

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

DependSet

Examines and removes out of date target files. If any of the target files are out of date with respect to any of the source files, all target files are removed. This is useful where dependencies cannot be computed (for example, dynamically interpreted parameters or files that need to stay in synch but are not directly linked) or where the phing task in question could compute them but does not.

nested arguments:

  • srcfileset (fileset describing the source files to examine)
  • srcfilelist (filelist describing the source files to examine)
  • targetfileset (fileset describing the target files to examine)
  • targetfilelist (filelist describing the target files to examine)

At least one instance of either a fileset or filelist for both source and target are required.

This task will examine each of the source files against each of the target files. If any target files are out of date with respect to any of the source files, all targets are removed. If any files named in a (src or target) filelist do not exist, all targets are removed. Hint: If missing files should be ignored, specify them as include patterns in filesets, rather than using filelists.

This task attempts to optimize speed of dependency checking. It will stop after the first out of date file is found and remove all targets, rather than exhaustively checking every source vs target combination unnecessarily.

« More »

DepthSelector

Selector that filters files based on the how deep in the directory tree they are.

It provides support for gathering the parameters together as well as for assigning an error message and throwing a build exception if an error is detected.

« More »

Description

Description is used to provide a project-wide description element (that is, a description that applies to a buildfile as a whole).

If present, the <description> element is printed out before the target descriptions.

Description has no attributes, only text. There can only be one project description per project. A second description element will overwrite the first.

« More »

Diagnostics

A little diagnostic helper that output some information that may help in support. It should quickly give correct information about the phing system.

« More »

DiagnosticsTask

This is a task that hands off work to the Diagnostics module.

It lets you run diagnostics in an IDE.

« More »

DifferentSelector

This selector selects files against a mapped set of target files, selecting all those files which are different.

Files with different lengths are deemed different automatically Files with identical timestamps are viewed as matching by default, unless you specify otherwise. Contents are compared if the lengths are the same and the timestamps are ignored or the same, except if you decide to ignore contents to gain speed.

This is a useful selector to work with programs and tasks that don't handle dependency checking properly; Even if a predecessor task always creates its output files, followup tasks can be driven off copies made with a different selector, so their dependencies are driven on the absolute state of the files, not a timestamp.

Clearly, however, bulk file comparisons is inefficient; anything that can use timestamps is to be preferred. If this selector must be used, use it over as few files as possible, perhaps following it with an <uptodate;> to keep the descendant routines conditional.

« More »

DirectoryScanner

Class for scanning a directory for files/directories that match a certain criteria.

These criteria consist of a set of include and exclude patterns. With these patterns, you can select which files you want to have included, and which files you want to have excluded.

The idea is simple. A given directory is recursively scanned for all files and directories. Each file/directory is matched against a set of include and exclude patterns. Only files/directories that match at least one pattern of the include pattern list, and don't match a pattern of the exclude pattern list will be placed in the list of files/directories found.

When no list of include patterns is supplied, "**" will be used, which means that everything will be matched. When no list of exclude patterns is supplied, an empty list is used, such that nothing will be excluded.

The pattern matching is done as follows: The name to be matched is split up in path segments. A path segment is the name of a directory or file, which is bounded by DIRECTORY_SEPARATOR ('/' under UNIX, '\' under Windows). E.g. "abc/def/ghi/xyz.php" is split up in the segments "abc", "def", "ghi" and "xyz.php". The same is done for the pattern against which should be matched.

Then the segments of the name and the pattern will be matched against each other. When '**' is used for a path segment in the pattern, then it matches zero or more path segments of the name.

There are special case regarding the use of DIRECTORY_SEPARATOR at the beginning of the pattern and the string to match: When a pattern starts with a DIRECTORY_SEPARATOR, the string to match must also start with a DIRECTORY_SEPARATOR. When a pattern does not start with a DIRECTORY_SEPARATOR, the string to match may not start with a DIRECTORY_SEPARATOR. When one of these rules is not obeyed, the string will not match.

When a name path segment is matched against a pattern path segment, the following special characters can be used: '*' matches zero or more characters, '?' matches one character.

Examples:

"*\.php" matches all .php files/dirs in a directory tree.

"test\a??.php" matches all files/dirs which start with an 'a', then two more characters and then ".php", in a directory called test.

"**" matches everything in a directory tree.

"\test\\XYZ*" matches all files/dirs that start with "XYZ" and where there is a parent directory called test (e.g. "abc\test\def\ghi\XYZ123").

Case sensitivity may be turned off if necessary. By default, it is turned on.

Example of usage: $ds = new DirectroyScanner(); $includes = array("*.php"); $excludes = array("modules*\"); $ds->SetIncludes($includes); $ds->SetExcludes($excludes); $ds->SetBasedir("test"); $ds->SetCaseSensitive(true); $ds->Scan();

print("FILES:"); $files = ds->GetIncludedFiles(); for ($i = 0; $i < count($files);$i++) { println("$files[$i]\n"); }

This will scan a directory called test for .php files, but excludes all .php files in all directories under a directory called "modules"

This class is complete preg/ereg free port of the Java class org.apache.tools.ant.DirectoryScanner. Even functions that use preg/ereg internally (like split()) are not used. Only the fast string functions and comparison operators (=== !=== etc) are used for matching and tokenizing.

« More »

Dirname

Determines the directory name of the specified file.

This task can accept the following attributes:

  • file
  • property

Both file and property are required.

When this task executes, it will set the specified property to the value of the specified file up to, but not including, the last path element. If file is a file, the directory will be the current directory.

« More »

DirSet

Subclass as hint for supporting tasks that the included directories instead of files should be used.

TODO:

  • merge this with patternsets: FileSet extends PatternSet !!! requires additional mods to the parsing algo [HL] .... not sure if that really makes so much sense. I think that perhaps they should use common utility class if there really is that much shared functionality
« More »

DispatchTask

Tasks extending this class may contain multiple actions.

The method that is invoked for execution depends upon the value of the action attribute of the task.
Example:
<mytask action="list"/> will invoke the method with the signature public function list() in mytask's class. If the action attribute is not defined in the task or is empty, the main() method will be called.

« More »

DispatchUtils

Determines and Executes the action method for the task.

« More »

DummyPDOQuerySplitter

Dummy query splitter: converts entire input into single SQL string

« More »

Duration

« More »

EchoProperties

Displays all the current properties in the build. The output can be sent to a file if desired.

Attribute "destfile" defines a file to send the properties to. This can be processed as a standard property file later.

Attribute "prefix" defines a prefix which is used to filter the properties only those properties starting with this prefix will be echoed.

By default, the "failonerror" attribute is enabled. If an error occurs while writing the properties to a file, and this attribute is enabled, then a BuildException will be thrown. If disabled, then IO errors will be reported as a log statement, but no error will be thrown.

Examples:

<echoproperties  />
Report the current properties to the log.

 <echoproperties destfile="my.properties" />
Report the current properties to the file "my.properties", and will fail the build if the file could not be created or written to.
 <echoproperties destfile="my.properties" failonerror="false"
     prefix="phing" />
Report all properties beginning with 'phing' to the file "my.properties", and will log a message if the file could not be created or written to, but will still allow the build to continue.
« More »

EchoTask

Echos a message to the logging system or to a file

Use \Project#createTask to register a new Task.

« More »

ElementHandler

The generic element handler class.

This class handles the occurrence of runtime registered tags like datatypes (fileset, patternset, etc) and it's possible nested tags. It introspects the implementation of the class and sets up the data structures.

« More »

ElseIfTask

"Inner" class for IfTask.

This class has same basic structure as the IfTask, although of course it doesn't support tags.

« More »

EqualsCondition

A simple string comparator. Compares two strings for eqiality in a binary safe manner. Implements the condition interface specification.

« More »

EscapeUnicode

UTF-8 to Unicode Code Points

This method converts non-latin characters to unicode escapes. Useful to load properties containing non latin.

Example:

<escapeunicode>

Or:

<filterreader classname="phing.filters.EscapeUnicode"/>

« More »

EventObject

« More »

Excludes

Datatype which handles excluded files, classes and methods.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

ExcludesNameEntry

Class for holding nested excludes elements (file, class, method).

« More »

ExecTask

Executes a command on the shell.

Use \Project#createTask to register a new Task.

« More »

ExecutableSelector

A selector that selects executable files.

« More »

ExitStatusException

BuildException + exit status.

« More »

ExpandProperties

Expands Phing Properties, if any, in the data.

Example:

Or:
« More »    

ExpatParseException

This class throws errors for Expat, the XML processor.

« More »

ExpatParser

This class is a wrapper for the PHP's internal expat parser.

It takes an XML file represented by a abstract path name, and starts parsing the file and calling the different "trap" methods inherited from the AbstractParser class.

Those methods then invoke the represenatative methods in the registered handler classes.

« More »

ExportPropertiesTask

Saves currently defined properties into a specified file

Use \Project#createTask to register a new Task.

« More »

ExtendedFileStream

Extended file stream wrapper class which auto-creates directories

« More »

ExtendSelector

Selector that selects files by forwarding the request on to other classes.

TODO - Consider adding Path (phing.types.Path) support to this class and to the Mappers class. See Ant versions for implimentation details.

« More »

ExtractBaseTask

Base class for extracting tasks such as Unzip and Untar.

This is very closely based on the ANT class of the same name.

« More »

FailTask

Exits the active build, giving an additional message if available.

Use \Project#createTask to register a new Task.

« More »

FileHashTask

fileHash

Calculate either MD5 or SHA hash value of a specified file and retun the value in a property

« More »

FileInputStream

Input stream subclass for file streams.

« More »

FileList

FileList represents an explicitly named list of files. FileLists are useful when you want to capture a list of files regardless of whether they currently exist.

<filelist id="docfiles" dir="${phing.docs.dir}" files="chapters/Installation.html,chapters/Setup.html"/>

OR

<filelist dir="${doc.src.dir}" listfile="${phing.docs.dir}/PhingGuide.book"/>

(or a mixture of files="" and listfile="" can be used)

« More »

FilenameSelector

Selector that filters files based on the filename.

It provides support for gathering the parameters together as well as for assigning an error message and throwing a build exception if an error is detected.

« More »

FileNotFoundException

« More »

FileOutputStream

Output stream subclass for file streams.

« More »

FileParserFactory

The factory to create fileParsers based on extension name from PhingFile->getFileExtension()

« More »

FileReader

Convenience class for reading files.

Unlike the Java counterpart, this class does not (yet) handle character set transformations. This will be an important function of this class with move to supporting PHP6.

« More »

FileSet

Moved out of MatchingTask to make it a standalone object that could be referenced (by scripts for example).

TODO:

  • merge this with patternsets: FileSet extends PatternSet !!! requires additional mods to the parsing algo [HL] .... not sure if that really makes so much sense. I think that perhaps they should use common utility class if there really is that much shared functionality
« More »

FileSizeTask

fileHash

Calculate either MD5 or SHA hash value of a specified file and retun the value in a property

« More »

FilesMatch

Compares two files for equality based on size and content. Timestamps are not at all looked at.

« More »

FileSyncTask

The FileSyncTask class copies files either to or from a remote host, or locally on the current host. It allows rsync to transfer the differences between two sets of files across the network connection, using an efficient checksum-search algorithm.

There are 4 different ways of using FileSyncTask:

  1. For copying local files.
  2. For copying from the local machine to a remote machine using a remote shell program as the transport (ssh).
  3. For copying from a remote machine to the local machine using a remote shell program.
  4. For listing files on a remote machine.

This is extended from Federico's original code, all his docs are kept in here below.

« More »

FileSystem

This is an abstract class for platform specific filesystem implementations you have to implement each method in the platform specific filesystem implementation classes Your local filesytem implementation must extend this class.

You should also use this class as a template to write your local implementation Some native PHP filesystem specific methods are abstracted here as well. Anyway you must always use this methods via a PhingFile object (that by nature uses the *FileSystem drivers to access the real filesystem via this class using natives.

FIXME:

  • Error handling reduced to min fallthrough runtime exceptions more precise errorhandling is done by the PhingFile class
« More »

FileUtils

File utility class.

  • handles os independent stuff etc
  • mapper stuff
  • filter stuff
« More »

FileWriter

Convenience class for performing file write operations.

Unlike the Java counterpart, this class does not (yet) handle character set transformations. This will be an important function of this class with move to supporting PHP6.

« More »

FilterChain

FilterChain may contain a chained set of filter readers.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

FilterReader

Wrapper class for readers, which can be used to apply filters.

« More »

FirstMatchMapper

A <code>ContainerMapper</code> that returns the results of its first constituent <code>FileNameMapper</code>s that matches.

« More »

FlattenMapper

Removes any directory information from the passed path.

« More »

ForeachTask

<foreach> task

Task definition for the foreach task. This task takes a list with delimited values, and executes a target with set param.

Usage:

Attributes: list --> The list of values to process, with the delimiter character, indicated by the "delimiter" attribute, separating each value. target --> The target to call for each token, passing the token as the parameter with the name indicated by the "param" attribute. param --> The name of the parameter to pass the tokens in as to the target. delimiter --> The delimiter string that separates the values in the "list" parameter. The default is ",".

« More »

FormatterElement

A wrapper for the implementations of PHPUnit2ResultFormatter.

« More »

FtpDeployTask

FtpDeployTask

Deploys a set of files to a remote FTP server.

Example usage:

« More »

FunctionParam

Supports the <param> nested tag for PhpTask.

« More »

GitArchiveTask

Repository archive task

Use \Project#createTask to register a new Task.

« More »

GitBaseTask

Base class for Git tasks

Use \Project#createTask to register a new Task.

« More »

GitBranchTask

Wrapper aroung git-branch

Use \Project#createTask to register a new Task.

« More »

GitCheckoutTask

Wrapper around git-checkout

Use \Project#createTask to register a new Task.

« More »

GitCloneTask

Wrapper around git-clone

Use \Project#createTask to register a new Task.

« More »

GitCommitTask

Wrapper around git-commit

Use \Project#createTask to register a new Task.

« More »

GitDescribeTask

Wrapper around git-describe

Use \Project#createTask to register a new Task.

« More »

GitFetchTask

Wrapper aroung git-fetch

Use \Project#createTask to register a new Task.

« More »

GitGcTask

Wrapper around git-gc

Use \Project#createTask to register a new Task.

« More »

GitInitTask

Repository initialization task

Use \Project#createTask to register a new Task.

« More »

GitLogTask

Wrapper aroung git-log

Use \Project#createTask to register a new Task.

« More »

GitMergeTask

Wrapper aroung git-merge

Use \Project#createTask to register a new Task.

« More »

GitPullTask

Wrapper aroung git-pull

Use \Project#createTask to register a new Task.

« More »

GitPushTask

Wrapper aroung git-push

Use \Project#createTask to register a new Task.

« More »

GitTagTask

Wrapper around git-tag

Use \Project#createTask to register a new Task.

« More »

GlobMapper

Uses glob patterns to perform filename transformations.

« More »

GrowlNotifyTask

Growl notification task for Phing, the PHP build tool.

PHP version 5

« More »

HasFreeSpaceCondition

Condition returns true if selected partition has the requested space, false otherwise.

« More »

HeadFilter

Reads the first <code>n</code> lines of a stream.

(Default is first 10 lines.)

Example:

Or:

   
« More »

HgAddTask

Integration/Wrapper for hg add

Use \Project#createTask to register a new Task.

« More »

HgArchiveTask

Integration/Wrapper for hg archive

Use \Project#createTask to register a new Task.

« More »

HgBaseTask

Base task for integrating phing and mercurial.

Use \Project#createTask to register a new Task.

« More »

HgCloneTask

Integration/Wrapper for hg clone

Use \Project#createTask to register a new Task.

« More »

HgCommitTask

Integration/Wrapper for hg commit

Use \Project#createTask to register a new Task.

« More »

HgInitTask

Integration/Wrapper for hg init

Use \Project#createTask to register a new Task.

« More »

HgLogTask

Integration/Wrapper for hg log

Use \Project#createTask to register a new Task.

« More »

HgPullTask

Integration/Wrapper for hg update

Use \Project#createTask to register a new Task.

« More »

HgPushTask

Integration/Wrapper for hg push

Use \Project#createTask to register a new Task.

« More »

HgRevertTask

Integration/Wrapper for hg revert

Use \Project#createTask to register a new Task.

« More »

HgTagTask

Integration/Wrapper for hg tag

Use \Project#createTask to register a new Task.

« More »

HgUpdateTask

Integration/Wrapper for hg update

Use \Project#createTask to register a new Task.

« More »

HipchatTask

HipchatTask Sends a simple hipchat notification.

(Yeah, HipChat API has lots of more awesome features than sending a lousy text notification but I refuse implementing more as long as the chat client lacks the most basic feature of sorting contacts. If you share my opinion then please upvote this feature request: https://jira.atlassian.com/browse/HCPUB-363 )

Hello <i>World</i>!
« More »

HtmlColorLogger

Uses CSS class that must be defined in the HTML page where the Phing output is displayed.

If used with the -logfile option, the output will contain the text wrapped in html elements with those css classes.

The default classes used for differentiating the message levels can be changed by editing the phing/listener/defaults.properties file.

This file can contain 5 key/value pairs: HtmlColorLogger.ERROR_CLASS=_your_css_classname HtmlColorLogger.WARNING_CLASS=_your_css_classname HtmlColorLogger.INFO_CLASS=_your_css_classname HtmlColorLogger.VERBOSE_CLASS=_your_css_classname HtmlColorLogger.DEBUG_CLASS=_your_css_classname

This stems from the Ansi Color Logger done by Hans Lellelid:

« More »

HttpCondition

Condition to wait for a HTTP request to succeed.

Attributes are:

  • url - the URL of the request.
  • errorsBeginAt - number at which errors begin at; default=400.
« More »

HttpGetTask

A HTTP download task.

Downloads a file via HTTP GET method and saves it to a specified directory

« More »

HttpRequestTask

A HTTP request task.

Making an HTTP request and try to match the response against an provided regular expression.

« More »

HttpTask

Base class for HTTP_Request2-backed tasks

Handles nested and

tags, contains a method for HTTP_Request2 instance creation

« More »

IconvFilter

Encode data from <code>in</code> encoding to <code>out</code> encoding.

Example:


Or:


   
   

« More »

IdentityMapper

This mapper does nothing ;)

« More »

IfTask

Perform some tasks based on whether a given condition holds true or not.

This task is heavily based on the Condition framework that can be found in Ant 1.4 and later, therefore it cannot be used in conjunction with versions of Ant prior to 1.4.

This task doesn't have any attributes, the condition to test is specified by a nested element - see the documentation of your task (see the online documentation for example) for a complete list of nested elements.

Just like the task, only a single condition can be specified - you combine them using or conditions.

In addition to the condition, you can specify three different child elements, , and . All three subelements are optional. Both and must not be used more than once inside the if task. Both are containers for Ant tasks, just like Ant's and tasks - in fact they are implemented using the same class as Ant's task.

The <elseif> behaves exactly like an <if> except that it cannot contain the <else> element inside of it. You may specify as may of these as you like, and the order they are specified is the order they are evaluated in. If the condition on the <if> is false, then the first <elseif> who's conditional evaluates to true will be executed. The <else> will be executed only if the <if> and all <elseif> conditions are false.

Use the following task to define the task before you use it the first time:


  <taskdef name="if" classname="net.sf.antcontrib.logic.IfTask" />

Crude Example

« More »

ImportTask

Imports another build file into the current project.

Targets and properties of the imported file can be overrridden by targets and properties of the same name declared in the importing file.

The imported file will have a new synthetic property of "phing.file." declared which gives the full path to the imported file. Additionally each target in the imported file will be declared twice: once with the normal name and once with "." prepended. The "." synthetic targets allow the importing file a mechanism to call the imported files targets as dependencies or via the or task mechanisms.

« More »

IncludePathTask

Adds a normalized path to the PHP include_path.

This provides a way to alter the include_path without editing any global php.ini settings or PHP_CLASSPATH environment variable.

« More »

IniFileConfig

Class for reading/writing ini config file

This preserves comments etc, unlike parse_ini_file and is based heavily on a solution provided at: stackoverflow.com/questions/9594238/good-php-classes-that-manipulate-ini-files

« More »

IniFileParser

Implements an IniFileParser. The logic is coming from th Properties.php, but I don't know who's the author.

FIXME

  • Add support for arrays (separated by ',')
« More »

IniFileRemove

Class for collecting details for removing keys or sections from an ini file

« More »

IniFileSet

InifileSet

« More »

IniFileTask

InifileTask

Use \Project#createTask to register a new Task.

« More »

IniFileTokenReader

Class that allows reading tokens from INI files.

« More »

InputRequest

Encapsulates an input request.

« More »

InputStream

Wrapper class for PHP stream that supports read operations.

« More »

InputStreamReader

Writer class for OutputStream objects.

Unlike the Java counterpart, this class does not (yet) handle character set transformations. This will be an important function of this class with move to supporting PHP6.

« More »

InputTask

Reads input from the InputHandler.

Use \Project#createTask to register a new Task.

« More »

IntrospectionHelper

Helper class that collects the methods that a task or nested element holds to set attributes, create nested elements or hold PCDATA elements.

  • SMART-UP INLINE DOCS
  • POLISH-UP THIS CLASS
« More »

IOException

Extends Exception to take advantage of methods therein.

« More »

IoncubeComment

Wrapper for comments for ionCube tasks

« More »

IoncubeEncoderTask

Invokes the ionCube Encoder (PHP4 or PHP5)

Use \Project#createTask to register a new Task.

« More »

IoncubeLicenseTask

Invokes the ionCube "make_license" program

Use \Project#createTask to register a new Task.

« More »

IsFailure

Condition to test a return-code for failure.

« More »

IsFalseCondition

Condition that tests whether a given string evals to false.

« More »

IsFileSelected

This is a condition that checks to see if a file passes an embedded selector.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

IsPropertyFalseCondition

Checks the value of a specified property.

Returns true if the property evaluates to true.

« More »

IsPropertyTrueCondition

Checks the value of a specified property.

Returns true if the property evaluates to true.

« More »

IsSetCondition

Condition that tests whether a given property has been set.

« More »

IsTrueCondition

Condition that tests whether a given string evals to true.

« More »

IterableFileSet

FileSet adapter to SPL's Iterator.

TODO:

  • merge this with patternsets: FileSet extends PatternSet !!! requires additional mods to the parsing algo [HL] .... not sure if that really makes so much sense. I think that perhaps they should use common utility class if there really is that much shared functionality
« More »

JsHintTask

JsHintTask

Checks the JavaScript code using JSHint See http://www.jshint.com/

« More »

JslLintTask

A Javascript lint task. Checks syntax of Javascript files.

Javascript lint (http://www.javascriptlint.com) must be in the system path. This class is based on Knut Urdalen's PhpLintTask.

« More »

JsMinTask

Task to minify javascript files.

Requires JShrink (https://github.com/tedivm/JShrink) which can be installed using composer

« More »

JsonLogger

Generates a file in the current directory with an JSON description of what happened during a build.

The default filename is "log.json", but this can be overridden with the property JsonLogger.file.

« More »

JsonValidateTask

Checks if a given file is valid JSON <jsonvalidate file="path/file.json" />

Use \Project#createTask to register a new Task.

« More »

LineContains

Filter which includes only those lines that contain all the user-specified strings.

Example:


  
  

Or:


   
   

This will include only those lines that contain foo and bar.

« More »

LineContainsRegexp

Filter which includes only those lines that contain the user-specified regular expression matching strings.

Example:


  

Or:


   

This will fetch all those lines that contain the pattern foo

« More »

LiquibaseChangeLogTask

Task to create a changelog file.

Use \Project#createTask to register a new Task.

« More »

LiquibaseDbDocTask

Task to create a javadoc-like documentation based on current database and changelog.

Use \Project#createTask to register a new Task.

« More »

LiquibaseDiffTask

Task to create the diff between two databases. Will output the changes needed to convert the reference database to the database.

Use \Project#createTask to register a new Task.

« More »

LiquibaseParameter

Base class for those classes that can appear inside the build file as stand alone data types.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

LiquibaseProperty

Base class for those classes that can appear inside the build file as stand alone data types.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

LiquibaseRollbackTask

Rollbacks the database changes.

Use \Project#createTask to register a new Task.

« More »

LiquibaseTagTask

Task to tag the current database state. In case you tag the database multiple times without applying a new changelog before, the tags will overwrite each other!

Use \Project#createTask to register a new Task.

« More »

LiquibaseTask

Task for running liquibase commands that doesn't have their own commands yet.

Parameters can be provided by nested tags. That will result in --foo='bar' on the command line.

« More »

LiquibaseUpdateTask

Task to update the database to latest version of the changelog file.

Use \Project#createTask to register a new Task.

« More »

LoadFileTask

LoadFileTask

Loads a (text) file and stores the contents in a property. Supports filterchains.

« More »

Location

Stores the file name and line number of a XML file

« More »

LogWriter

Extends the Writer class to output messages to Phing's log

« More »

MailLogger

Uses PEAR Mail package to send the build log to one or more recipients.

Currently, it only writes which targets are being executed, and any messages that get logged.

« More »

MailTask

Send an e-mail message

The build process is a success...
« More »

MajoritySelector

This selector is here just to shake up your thinking a bit. Don't get too caught up in boolean, there are other ways you can evaluate a collection of selectors. This one takes a vote of the selectors it contains, and majority wins. You could also have an "all-but-one" selector, a "weighted-average" selector, and so on. These are left as exercises for the reader (as are the usecases where this would be necessary).

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

ManifestTask

ManifestTask

Generates a simple Manifest file with optional checksums.

Manifest schema: ... path/to/file CHECKSUM [CHECKSUM2] [CHECKSUM3] path/to/secondfile CHECKSUM [CHECKSUM2] [CHECKSUM3] ...

Example usage:

« More »

MapEntry

Helper class, holds the nested &lt;map&gt; values. Elements will look like this: &lt;map from=&quot;d:&quot; to=&quot;/foo&quot;/&gt;

When running on windows, the prefix comparison will be case insensitive.

« More »

Mapper

Filename Mapper maps source file name(s) to target file name(s).

Built-in mappers can be accessed by specifying they "type" attribute:

Custom mappers can be specified by providing a dot-path to a include_path-relative class:

« More »

MappingSelector

A mapping selector is an abstract class adding mapping support to the base selector

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

Matches

Simple regular expression condition.

« More »

MatchingTask

This is an abstract task that should be used by all those tasks that require to include or exclude files based on pattern matching.

This is very closely based on the ANT class of the same name.

« More »

MergeMapper

For merging files into a single file. In practice just returns whatever value was set for "to".

« More »

MkdirTask

Task to create a directory.

Use \Project#createTask to register a new Task.

« More »

MoveTask

Moves a file or directory to a new file or directory.

By default, the destination file is overwritten if it already exists. When overwrite is turned off, then files are only moved if the source file is newer than the destination file, or when the destination file does not exist.

Source files and directories are only deleted when the file or directory has been copied to the destination successfully.

« More »

MultipleChoiceInputRequest

Encapsulates an input request.

« More »

NestedCondition

Nested conditions.

« More »

NoBannerLogger

Extends DefaultLogger to strip out empty targets.

Currently, it only writes which targets are being executed, and any messages that get logged.

« More »

NoneSelector

This selector has a collection of other selectors. All of those selectors must refuse to select a file before the file is considered selected by this selector.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

NotCondition

<not> condition.

Evaluates to true if the single condition nested into it is false and vice versa.

« More »

NotifySendTask

NotifySendTask

Use \Project#createTask to register a new Task.

« More »

NotSelector

This selector has one other selectors whose meaning it inverts. It actually relies on NoneSelector for its implementation of the isSelected() method, but it adds a check to ensure there is only one other selector contained within.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

NullPointerException

« More »

OrCondition

<or> condition container.

Iterates over all conditions and returns true as soon as one evaluates to true.

« More »

OrSelector

This selector has a collection of other selectors, any of which have to select a file in order for this selector to select it.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

OsCondition

Condition that tests the OS type.

« More »

OutputStream

Wrapper class for PHP stream that supports write operations.

« More »

OutputStreamWriter

Writer class for OutputStream objects.

Unlike the Java counterpart, this class does not (yet) handle character set transformations. This will be an important function of this class with move to supporting PHP6.

« More »

PackageAsPathTask

Convert dot-notation packages to relative paths.

Use \Project#createTask to register a new Task.

« More »

ParallelTask

Uses the DocBlox_Parallel library to run nested Phing tasks concurrently.

WARNING: this task is highly experimental!

« More »

Parameter

A parameter is composed of a name, type and value. Nested Parameters are also possible, but the using task/type has to support them

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

PatchTask

Patches a file by applying a 'diff' file to it

Requires "patch" to be on the execution path.

« More »

Path

This object represents a path as used by include_path or PATH environment variable.

This class has been adopted from the Java Ant equivalent. The ability have path structures in Phing is important; however, because of how PHP classes interact the ability to specify CLASSPATHs makes less sense than Java.Rather than providing CLASSPATH for any tasks that take classes as parameters, perhaps a better solution in PHP is to have an IncludePath task, which prepends paths to PHP's include_path INI variable. This gets around the problem that simply using a path to load the initial PHP class is not enough (in most cases the loaded class may assume that it is on the global PHP include_path, and will try to load dependent classes accordingly). The other option is to provide a way for this class to add paths to the include path, if desired -- or to create an IncludePath subclass. Once added, though, when would a path be removed from the include path?

<sometask>
  <somepath>
    <pathelement location="/path/to/file" />
    <pathelement path="/path/to/class2;/path/to/class3" />
    <pathelement location="/path/to/file3" />
  </somepath>
</sometask>

The object implemention sometask must provide a method called createSomepath which returns an instance of Path. Nested path definitions are handled by the Path object and must be labeled pathelement.

The path element takes a parameter path which will be parsed and split into single elements. It will usually be used to define a path from an environment variable.

« More »

PathConvert

Converts path and classpath information to a specific target OS format. The resulting formatted path is placed into the specified property.

Use \Project#createTask to register a new Task.

« More »

PathElement

Helper class, holds the nested <code>&lt;pathelement&gt;</code> values.

« More »

PathToFileSet

Coverts a path to a fileset.

This is useful if you have a path but need to use a fileset as input in a phing task.

Example

  <path id="modified.sources.path" dir="C:\Path\to\phing\classes\phing\" />
  <pathtofileset name="modified.sources.fileset"
                 pathrefid="modified.sources.path"
                 dir="." />

  <copy todir="C:\Path\to\phing\docs\api">
    <mapper type="glob" from="*.php" to="*.php.bak" />
    <fileset refid="modified.sources.fileset" />
  </copy>
« More »

PathTokenizer

A Path tokenizer takes a path and returns the components that make up that path.

The path can use path separators of either ':' or ';' and file separators of either '/' or '\'.

« More »

PatternSet

The patternset storage component. Carries all necessary data and methods for the patternset stuff.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

PatternSetNameEntry

"Internal" class for holding an include/exclude pattern.

« More »

PDOQuerySplitter

Base class for classes that split SQL source into separate queries

« More »

PDOResultFormatter

Abstract

« More »

PDOSQLExecFormatterElement

A class to represent the nested <formatter> element for PDO SQL results.

This class is inspired by the similarly-named class in the PHPUnit tasks.

« More »

PDOSQLExecTask

Executes a series of SQL statements on a database using PDO.

Statements can either be read in from a text file using the src attribute or from between the enclosing SQL tags.

Multiple statements can be provided, separated by semicolons (or the defined delimiter). Individual lines within the statements can be commented using either --, // or REM at the start of the line.

The autocommit attribute specifies whether auto-commit should be turned on or off whilst executing the statements. If auto-commit is turned on each statement will be executed and committed. If it is turned off the statements will all be executed as one transaction.

The onerror attribute specifies how to proceed when an error occurs during the execution of one of the statements. The possible values are: continue execution, only show the error; stop execution and commit transaction; and abort execution and transaction and fail task.

« More »

PDOSQLExecTransaction

"Inner" class that contains the definition of a new transaction element.

Transactions allow several files or blocks of statements to be executed using the same JDBC connection and commit operation in between.

« More »

PDOTask

Handles PDO configuration needed by SQL type tasks.

Use \Project#createTask to register a new Task.

« More »

PEAR_PackageFileManager_Fileset

Builds list of files for PEAR_PackageFileManager using a Phing FileSet.

Some code here is taken from PEAR_PackageFileManager_File -- getting results from flat array into the assoc array expected from getFileList().

« More »

PearPackage2Task

A task to create a PEAR package.xml version 2.0 file.

This class uses the PEAR_PackageFileManager2 class to perform the work.

This class is designed to be very flexible -- i.e. account for changes to the package.xml w/o requiring changes to this class. We've accomplished this by having generic

The

or

The tag represents a complex data type. You can use nested (and nested with

tags) to represent the full complexity of the structure. Bear in mind that what you are creating will be mapped to an associative array that will be passed in via PEAR_PackageFileManager2::setOptions(). Here's an over-simple example of how this could be used: Look at the build.xml in the Phing base directory (assuming you have the full distro / CVS version of Phing) to see a more complete example of how to call this script.
« More »

PearPackageFileSet

Fileset that contains files of an installed PEAR package.

It can be used to package up PEAR package dependencies in own release files (zip, tgz, phar).

« More »

PearPackageScanner

Scans for files in a PEAR package.

These criteria consist of a set of include and exclude patterns. With these patterns, you can select which files you want to have included, and which files you want to have excluded.

The idea is simple. A given directory is recursively scanned for all files and directories. Each file/directory is matched against a set of include and exclude patterns. Only files/directories that match at least one pattern of the include pattern list, and don't match a pattern of the exclude pattern list will be placed in the list of files/directories found.

When no list of include patterns is supplied, "**" will be used, which means that everything will be matched. When no list of exclude patterns is supplied, an empty list is used, such that nothing will be excluded.

The pattern matching is done as follows: The name to be matched is split up in path segments. A path segment is the name of a directory or file, which is bounded by DIRECTORY_SEPARATOR ('/' under UNIX, '\' under Windows). E.g. "abc/def/ghi/xyz.php" is split up in the segments "abc", "def", "ghi" and "xyz.php". The same is done for the pattern against which should be matched.

Then the segments of the name and the pattern will be matched against each other. When '**' is used for a path segment in the pattern, then it matches zero or more path segments of the name.

There are special case regarding the use of DIRECTORY_SEPARATOR at the beginning of the pattern and the string to match: When a pattern starts with a DIRECTORY_SEPARATOR, the string to match must also start with a DIRECTORY_SEPARATOR. When a pattern does not start with a DIRECTORY_SEPARATOR, the string to match may not start with a DIRECTORY_SEPARATOR. When one of these rules is not obeyed, the string will not match.

When a name path segment is matched against a pattern path segment, the following special characters can be used: '*' matches zero or more characters, '?' matches one character.

Examples:

"*\.php" matches all .php files/dirs in a directory tree.

"test\a??.php" matches all files/dirs which start with an 'a', then two more characters and then ".php", in a directory called test.

"**" matches everything in a directory tree.

"\test\\XYZ*" matches all files/dirs that start with "XYZ" and where there is a parent directory called test (e.g. "abc\test\def\ghi\XYZ123").

Case sensitivity may be turned off if necessary. By default, it is turned on.

Example of usage: $ds = new DirectroyScanner(); $includes = array("*.php"); $excludes = array("modules*\"); $ds->SetIncludes($includes); $ds->SetExcludes($excludes); $ds->SetBasedir("test"); $ds->SetCaseSensitive(true); $ds->Scan();

print("FILES:"); $files = ds->GetIncludedFiles(); for ($i = 0; $i < count($files);$i++) { println("$files[$i]\n"); }

This will scan a directory called test for .php files, but excludes all .php files in all directories under a directory called "modules"

This class is complete preg/ereg free port of the Java class org.apache.tools.ant.DirectoryScanner. Even functions that use preg/ereg internally (like split()) are not used. Only the fast string functions and comparison operators (=== !=== etc) are used for matching and tokenizing.

« More »

PearPackageTask

A task to create PEAR package.xml file.

This class uses the PEAR_PackageFileMaintainer class to perform the work.

This class is designed to be very flexible -- i.e. account for changes to the package.xml w/o requiring changes to this class. We've accomplished this by having generic

The

or

The tag represents a complex data type. You can use nested (and nested with

tags) to represent the full complexity of the structure. Bear in mind that what you are creating will be mapped to an associative array that will be passed in via PEAR_PackageFileMaintainer::setOptions(). Here's an over-simple example of how this could be used: Look at the build.xml in the Phing base directory (assuming you have the full distro / CVS version of Phing) to see a more complete example of how to call this script.
« More »

PearPkgMapping

Handles complex options <mapping> elements which are hashes (assoc arrays).

« More »

PearPkgMappingElement

Sub-element of <mapping>.

« More »

PearPkgOption

Generic option class is used for non-complex options.

« More »

PearPkgRole

Encapsulates file roles

« More »

PgsqlPDOQuerySplitter

Splits PostgreSQL's dialect of SQL into separate queries

Unlike DefaultPDOQuerySplitter this uses a lexer instead of regular expressions. This allows handling complex constructs like C-style comments (including nested ones) and dollar-quoted strings.

« More »

PharDataTask

Data task for {@link http://php.net/manual/en/class.phardata.php PharData class}.

This is very closely based on the ANT class of the same name.

« More »

PharMetadata

« More »

PharMetadataElement

« More »

PharPackageTask

Package task for {@link http://www.php.net/manual/en/book.phar.php Phar technology}.

This is very closely based on the ANT class of the same name.

« More »

Phing

Entry point into Phing. This class handles the full lifecycle of a build -- from parsing & handling commandline arguments to assembling the project to shutting down and cleaning up in the end.

If you are invoking Phing from an external application, this is still the class to use. Your application can invoke the start() method, passing any commandline arguments or additional properties.

« More »

PhingCallTask

Call another target in the same project.

This only works as expected if neither property1 nor foo are defined in the project itself.

« More »

PhingFile

An abstract representation of file and directory pathnames.

« More »

PhingFilterReader

A PhingFilterReader is a wrapper class that encloses the className and configuration of a Configurable FilterReader.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

PhingReference

Helper class that implements the nested <reference> element of <phing> and <phingcall>.

« More »

PhingTask

Task that invokes phing on another build file.

Use this task, for example, if you have nested buildfiles in your project. Unlike AntTask, PhingTask can even support filesets:

  
   
      
     
   
  
« More »

PhingVersion

An phing version condition/task.

Use \Project#createTask to register a new Task.

« More »

PhingXMLContext

Track the current state of the Xml parse operation.

« More »

PhkPackageTask

See {@link http://phk.tekwire.net/} for more information about PHK.

Use \Project#createTask to register a new Task.

« More »

PhkPackageWebAccess

« More »

PhkPackageWebAccessPath

« More »

PHP_CodeSniffer_Reports_PhingRemoveFromCache

Remove from cache files where contains errors

« More »

PhpArrayMapLines

Applies a native php function to the original input.

Example:

Or:


 
« More »

PhpCodeSnifferTask

A PHP code sniffer task. Checking the style of one or more PHP source files.

Use \Project#createTask to register a new Task.

« More »

PhpCodeSnifferTask_FormatterElement

Base class for those classes that can appear inside the build file as stand alone data types.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

PhpCodeSnifferTask_Wrapper

Wrapper to disable PHPCS's destructor

« More »

PHPCPDFormatterElement

A wrapper for the implementations of PHPCPDResultFormatter.

« More »

PHPCPDResultFormatter

This abstract class describes classes that format the results of a PHPCPD run.

« More »

PHPCPDTask

Runs PHP Copy & Paste Detector. Checking PHP files for duplicated code.

Refactored original PhpCpdTask provided by Timo Haberkern

« More »

PhpDependAnalyzerElement

Analyzer element for the PhpDependTask

« More »

PhpDependLoggerElement

Logger element for the PhpDependTask.

« More »

PhpDependTask

Runs the PHP_Depend software analyzer and metric tool.

Performs static code analysis on a given source base.

« More »

PhpDocumentor2Task

PhpDocumentor2 Task (http://www.phpdoc.org) Based on the DocBlox Task

Use \Project#createTask to register a new Task.

« More »

PhpEvalTask

Executes PHP function or evaluates expression and sets return value to a property.

WARNING: This task can, of course, be abused with devastating effects. E.g. do not modify internal Phing classes unless you know what you are doing.

« More »

PhpLintTask

A PHP lint task. Checking syntax of one or more PHP source file.

Use \Project#createTask to register a new Task.

« More »

PHPLocCSVFormatter

« More »

PHPLocFormatterElement

« More »

PHPLocFormatterFactory

A wrapper for the implementations of PHPUnit2ResultFormatter.

« More »

PHPLocTask

Runs phploc a tool for quickly measuring the size of PHP projects.

Use \Project#createTask to register a new Task.

« More »

PHPLocTextFormatter

« More »

PHPLocXMLFormatter

« More »

PHPMDFormatterElement

A wrapper for the implementations of PHPMDResultFormatter.

« More »

PHPMDRendererRemoveFromCache

This class will remove files with violations from cache

« More »

PHPMDTask

Runs PHP Mess Detector. Checking PHP files for several potential problems based on rulesets.

Use \Project#createTask to register a new Task.

« More »

PHPUnitReportTask

Transform a PHPUnit xml report using XSLT.

This transformation generates an html report in either framed or non-framed style. The non-framed style is convenient to have a concise report via mail, the framed report is much more convenient if you want to browse into different packages or testcases since it is a Javadoc like report.

« More »

PHPUnitResultFormatter

This abstract class describes classes that format the results of a PHPUnit testrun.

« More »

PHPUnitResultFormatter5

This abstract class describes classes that format the results of a PHPUnit testrun.

« More »

PHPUnitTask

Runs PHPUnit tests.

Use \Project#createTask to register a new Task.

« More »

PHPUnitTestRunner

Simple Testrunner for PHPUnit that runs all tests of a testsuite.

« More »

PHPUnitTestRunner6

Simple Testrunner for PHPUnit that runs all tests of a testsuite.

« More »

PHPUnitUtil

Various utility functions

« More »

PlainPDOResultFormatter

Plain text formatter for PDO results.

« More »

PlainPHPUnitResultFormatter

Prints plain text output of the test to a specified Writer.

« More »

PlainPHPUnitResultFormatter5

Prints plain text output of the test to a specified Writer.

« More »

PMDPHPCPDResultFormatter

Prints PMD-XML output of phpcpd run

« More »

PrefixLines

Attaches a prefix to every line.

Example:

Or:


 
« More »

PregEngine

PREG Regexp Engine.

Implements a regexp engine using PHP's preg_match(), preg_match_all(), and preg_replace() functions.

« More »

PresentSelector

Selector that filters files based on whether they appear in another directory tree. It can contain a mapper element, so isn't available as an ExtendSelector (since those parameters can't hold other elements).

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

PrintStream

« More »

ProfileLogger

This is a special logger that is designed to profile builds.

Currently, it only writes which targets are being executed, and any messages that get logged.

« More »

ProgressLogger

Uses ANSI Color Code Sequences to colorize messages sent to the console.

If used with the -logfile option, the output file will contain all the necessary escape codes to display the text in colorized mode when displayed in the console using applications like cat, more, etc.

This is designed to work on terminals that support ANSI color codes. It works on XTerm, ETerm, Mindterm, etc. It also works on Win9x (with ANSI.SYS loaded.)

NOTE: It doesn't work on WinNT's COMMAND.COM even with ANSI.SYS loaded.

The default colors used for differentiating the message levels can be changed by editing the phing/listener/defaults.properties file.

This file contains 5 key/value pairs: AnsiColorLogger.ERROR_COLOR=2;31 AnsiColorLogger.WARNING_COLOR=2;35 AnsiColorLogger.INFO_COLOR=2;36 AnsiColorLogger.VERBOSE_COLOR=2;32 AnsiColorLogger.DEBUG_COLOR=2;34

Another option is to pass a system variable named ant.logger.defaults, with value set to the path of the file that contains user defined Ansi Color Codes, to the java command using -D option.

To change these colors use the following chart:

 <B>ANSI COLOR LOGGER CONFIGURATION</B>

Format for AnsiColorLogger.*= Attribute;Foreground;Background

Attribute is one of the following: 0 -> Reset All Attributes (return to normal mode) 1 -> Bright (Usually turns on BOLD) 2 -> Dim 3 -> Underline 5 -> link 7 -> Reverse 8 -> Hidden

Foreground is one of the following: 30 -> Black 31 -> Red 32 -> Green 33 -> Yellow 34 -> Blue 35 -> Magenta 36 -> Cyan 37 -> White

Background is one of the following: 40 -> Black 41 -> Red 42 -> Green 43 -> Yellow 44 -> Blue 45 -> Magenta 46 -> Cyan 47 -> White

« More »

Project

The Phing project class. Represents a completely configured Phing project.

The class defines the project and all tasks/targets. It also contains methods to start a build as well as some properties and FileSystem abstraction.

« More »

ProjectComponent

Abstract class providing properties and methods common to all the project components

« More »

ProjectConfigurator

The datatype handler class.

This class handles the occurrence of registered datatype tags like FileSet

« More »

ProjectHandler

Handler class for the <project> XML element This class handles all elements under the <project> element.

« More »

ProjectTimer

A logger which logs nothing but build failure and what task might output.

« More »

ProjectTimerMap

« More »

Properties

Convenience class for reading and writing property files.

FIXME

  • Add support for arrays (separated by ',')
« More »

PropertyCopy

PropertyCopy

Use \Project#createTask to register a new Task.

« More »

PropertyHelper

Component creation and configuration

« More »

PropertySelector

PropertySelector Task

Use \Project#createTask to register a new Task.

« More »

PropertyTask

Task for setting properties in buildfiles.

Use \Project#createTask to register a new Task.

« More »

PropertyValue

Class to hold a property value Class only required to make it possible to add a property as reference

« More »

ReadableSelector

A selector that selects readable files.

« More »

Reader

Abstract class for reading character streams.

« More »

RecorderEntry

This is a class that represents a recorder. This is the listener to the build process.

« More »

RecorderTask

Adds a listener to the current build process that records the output to a file.

Several recorders can exist at the same time. Each recorder is associated with a file. The filename is used as a unique identifier for the recorders. The first call to the recorder task with an unused filename will create a recorder (using the parameters provided) and add it to the listeners of the build. All subsequent calls to the recorder task using this filename will modify that recorders state (recording or not) or other properties (like logging level).

Some technical issues: the file's print stream is flushed for "finished" events (buildFinished, targetFinished and taskFinished), and is closed on a buildFinished event.

« More »

Reference

Class to hold a reference to another object in the project.

« More »

ReferenceExistsCondition

Condition that tests whether a given reference exists.

« More »

ReflexiveTask

This task is for using filter chains to make changes to files and overwrite the original files.

This task was created to serve the need for "cleanup" tasks -- e.g. a ReplaceRegexp task or strip task being used to modify files and then overwrite the modified files. In many (most?) cases you probably should just use a copy task to preserve the original source files, but this task supports situations where there is no src vs. build directory, and modifying source files is actually desired.

« More »

Regexp

A factory class for regex functions.

« More »

RegexpMapper

Uses regular expressions to perform filename transformations.

« More »

RegexTask

Regular Expression Task for properties.

  

  

  

  

« More »

Register

Static class to handle a slot-listening system.

Unlike the slots/signals Qt model, this class manages something that is more like a simple hashtable, where each slot has only one value. For that reason "Registers" makes more sense, the reference being to CPU registers.

This could be used for anything, but it's been built for a pretty specific phing need, and that is to allow access to dynamic values that are set by logic that is not represented in a build file. For exampe, we need a system for getting the current resource (file) that is being processed by a filterchain in a fileset.

Each slot corresponds to only one read-only, dynamic-value RegisterSlot object. In a build.xml register slots are expressed using a syntax similar to variables:

The task/type must provide a supporting setter for the attribute:

function setListeningReplace(RegisterSlot $slot) { $this->replace = $slot; }

// in main() if ($this->replace instanceof RegisterSlot) { $this->regexp->setReplace($this->replace->getValue()); } else { $this->regexp->setReplace($this->replace); }

« More »

RegisterSlot

Represents a slot in the register.

« More »

RegularExpression

A regular expression datatype. Keeps an instance of the compiled expression for speed purposes. This compiled expression is lazily evaluated (it is compiled the first time it is needed). The syntax is the dependent on which regular expression type you are using.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

ReplaceRegexp

Performs a regexp find/replace on stream.

Example:


   
   

« More »

ReplaceRegexpTask

ReplaceRegExp is a directory based task for replacing the occurrence of a given regular expression with a substitution pattern in a selected file or set of files.

<replaceregexp file="${src}/build.properties" match="OldProperty=(.*)" replace="NewProperty=\1" byline="true"/>

« More »

ReplaceTokens

Replaces tokens in the original input with user-supplied values.

Example:

;
  

Or:


  
  
  
« More »

ReplaceTokensWithFile

Replaces tokens in the original input with the contents of a file.

The file to be used is controlled by the name of the token which corresponds to the basename of the file to be used together with the optional pre and postfix strings that is possible to set.

By default all HTML entities in the file is replaced by the corresponding HTML entities. This behaviour can be controlled by the "translatehtml" parameter.

Supported parameters are:

 prefix         string Text to be prefixed to token before using as filename
 postfix        string Text to be prefixed to token before using as filename
 dir            string The directory where the files should be read from
 translatehtml  bool   If we should translate all HTML entities in the file.

Example:


  
  
« More »

ResolvePathTask

Task for resolving relative paths and setting absolute path in property value.

This task was created to address a need for resolving absolute paths of files / directories. In many cases a relative directory (e.g. "./build") is specified, but it needs to be treated as an absolute path since other build files (e.g. in subdirs) should all be using the same path -- and not treating it as a relative path to their own directory.

Resolved [absolute] path: ${absolute_path}

TODO:

  • Possibly integrate this with PackageAsPath, for handling/resolving dot-path paths.
« More »

Retry

Retries the nested task a set number of times.

Use \Project#createTask to register a new Task.

« More »

RootHandler

Root filter class for a phing buildfile.

The root filter is called by the parser first. This is where the phing specific parsing starts. RootHandler decides what to do next.

« More »

rSTTask

reStructuredText rendering task for Phing, the PHP build tool.

PHP version 5

« More »

RunTargetTask

Task that runs a target.

Use \Project#createTask to register a new Task.

« More »

RuntimeConfigurable

Wrapper class that holds the attributes of a Task (or elements nested below that level) and takes care of configuring that element at runtime.

SMART-UP INLINE DOCS

« More »

S3GetTask

Downloads an object off S3

Provides common methods and properties to all of the S3 tasks

« More »

S3PutTask

Stores an object on S3

Provides common methods and properties to all of the S3 tasks

« More »

SassTask

Executes Sass for a particular fileset.

If the sass executable is not available, but scssphp is, then use that instead.

« More »

ScpTask

Copy files to and from a remote host using scp.

Use \Project#createTask to register a new Task.

« More »

SecurityException

« More »

SelectorUtils

<p>This is a utility class used by selectors and DirectoryScanner. The functionality more properly belongs just to selectors, but unfortunately DirectoryScanner exposed these as protected methods. Thus we have to support any subclasses of DirectoryScanner that may access these methods.

This is a Singleton.

« More »

SelectSelector

This selector just holds one other selector and forwards all requests to it. It exists so that there is a single selector type that can exist outside of any targets, as an element of project. It overrides all of the reference stuff so that it works as expected. Note that this is the only selector you can reference.

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

SequentialTask

Sequential is a container task that contains other Phing Task objects.

The sequential task has no attributes and does not support any nested elements apart from Ant tasks. Any valid Ant task may be embedded within the sequential task.

« More »

Series

« More »

SeriesMap

« More »

SeriesTimer

« More »

Service_Amazon

Abstract Service_Amazon class.

Implements common methods & properties used by all Amazon services

« More »

Service_Amazon_S3

Abstract Service_Amazon_S3 class.

Provides common methods and properties to all of the S3 tasks

« More »

SilentLogger

A logger which logs nothing but build failure and what task might output.

Currently, it only writes which targets are being executed, and any messages that get logged.

« More »

SizeSelector

Selector that filters files based on their size.

It provides support for gathering the parameters together as well as for assigning an error message and throwing a build exception if an error is detected.

« More »

SleepTask

A phing sleep task.

A task for sleeping a short period of time, useful when a build or deployment process requires an interval between tasks.

A negative value can be supplied to any of attributes provided the total sleep time is positive, pending fundamental changes in physics and PHP execution times.

Note that sleep times are always hints to be interpreted by the OS how it feels small times may either be ignored or rounded up to a minimum timeslice. Note also that the system clocks often have a fairly low granularity too, which complicates measuring how long a sleep actually took.

« More »

SmartyTask

A phing task for generating output by using Smarty.

This is based on the TexenTask from Apache's Velocity engine. This class was originally proted in order to provide a template compiling system for Torque.

TODO:

  • Add Path / useClasspath support?
« More »

SocketCondition

<socket> condition container.

Tests for a (tcp) listener on a specified host and port

« More »

SonarConfigurationFileParser

« More »

SonarProperty

A property element nested in SonarTask.

« More »

SonarTask

Runs SonarQube Scanner.

Use \Project#createTask to register a new Task.

« More »

SortFilter

<p> Sort a file before and/or after the file.

Examples:

  <copy todir="build">
      <fileset dir="input" includes="*.txt"/>
      <filterchain>
          <sortfilter/>
      </filterchain>
  </copy>

Sort all files *.txt from src location and copy them into build location. The lines of each file are sorted in ascendant order comparing the lines.

  <copy todir="build">
      <fileset dir="input" includes="*.txt"/>
      <filterchain>
          <sortfilter reverse="true"/>
      </filterchain>
  </copy>

Sort all files *.txt from src location into reverse order and copy them into build location. If reverse parameter has value true (default value), then the output line of the files will be in ascendant order.

« More »

SortList

SortList Task

Use \Project#createTask to register a new Task.

« More »

SourceFileScanner

Utility class that collects the functionality of the various scanDir methods that have been scattered in several tasks before.

The only method returns an array of source files. The array is a subset of the files given as a parameter and holds only those that are newer than their corresponding target files.

« More »

Ssh2MethodConnectionParam

Class that holds parameters for an ssh2_connect $methods parameter This corresponds to the client_to_server and server_to_client keys of the optional $methods parameter for the ssh2_connect function

« More »

Ssh2MethodParam

Class that holds parameters for an ssh2_connect $methods parameter This corresponds to the optional $methods parameter for the ssh2_connect function

This class handles the common description attribute and provides a default implementation for reference handling and checking for circular references that is appropriate for types that can not be nested inside elements of the same type (i.e. patternset but not path)

« More »

SshTask

Execute commands on a remote host using ssh.

Use \Project#createTask to register a new Task.

« More »

StatisticsListener

« More »

StatisticsReport

« More »

StatsTimer

« More »

StopwatchTask

Stopwatch.

Use \Project#createTask to register a new Task.

« More »

StringFormatter

« More »

StringHelper

String helper utility class.

This class includes some Java-like functions for parsing strings, as well as some functions for getting qualifiers / unqualifying phing-style classpaths. (e.g. "phing.util.StringHelper").

« More »

StringReader

Dummy class for reading from string of characters.

« More »

StripLineBreaks

Filter to flatten the stream to a single line.

Example:

Or:

« More »

StripLineComments

This filter strips line comments.

Example:


  
  
  
  
  

Or:


  
  
  
  
  
« More »

StripPhpComments

This is a Php comment and string stripper reader that filters those lexical tokens out for purposes of simple Php parsing.

(if you have more complex Php parsing needs, use a real lexer). Since this class heavily relies on the single char read function, you are recommended to make it work on top of a buffered reader.

« More »

StripWhitespace

Strips whitespace from [php] files using PHP stripwhitespace() method.

« More »

SuffixLines

Attaches a suffix to every line.

Example:

Or:


 
« More »

SummaryPHPUnitResultFormatter

Prints short summary output of the test to Phing's logging system.

« More »

SummaryPHPUnitResultFormatter5

Prints short summary output of the test to Phing's logging system.

« More »

SvnBaseTask

Base class for Subversion tasks

Use \Project#createTask to register a new Task.

« More »

SvnCheckoutTask

Checks out a repository to a local directory

Use \Project#createTask to register a new Task.

« More »

SvnCommitTask

Commits changes in a local working copy to the repository

Use \Project#createTask to register a new Task.

« More »

SvnCopyTask

Copies a repository from the repository url to another

Use \Project#createTask to register a new Task.

« More »

SvnExportTask

Exports/checks out a repository to a local directory with authentication

Use \Project#createTask to register a new Task.

« More »

SvnInfoTask

Parses the output of 'svn info --xml' and

Use \Project#createTask to register a new Task.

« More »

SvnLastRevisionTask

Stores the number of the last revision of a workingcopy in a property

Use \Project#createTask to register a new Task.

« More »

SvnListTask

Stores the output of a list command on a workingcopy or repositoryurl in a property.

This stems from the SvnLastRevisionTask.

« More »

SvnLogTask

Stores the output of a log command on a workingcopy or repositoryurl in a property.

This stems from the SvnLastRevisionTask.

« More »

SvnSwitchTask

Switches a repository at a given local directory to a different location

Use \Project#createTask to register a new Task.

« More »

SvnUpdateTask

Updates a repository in local directory

Use \Project#createTask to register a new Task.

« More »

SwitchTask

Task definition for the phing task to switch on a particular value.

Task calling syntax:

<switch value="value" [caseinsensitive="true|false"] >
  <case value="val">
    <property name="propname" value="propvalue" /> |
    <phingcall target="targetname" /> |
    any other tasks
  </case>
  [
  <default>
    <property name="propname" value="propvalue" /> |
    <phingcall target="targetname" /> |
    any other tasks
  </default>
  ]
</switch>

Attributes: value -> The value to switch on caseinsensitive -> Should we do case insensitive comparisons? (default is false)

Subitems: case --> An individual case to consider, if the value that is being switched on matches to value attribute of the case, then the nested tasks will be executed. default --> The default case for when no match is found.

Crude Example:

<switch value="${foo}">
    <case value="bar">
      <echo message="The value of property foo is bar" />
    </case>
    <case value="baz">
      <echo message="The value of property foo is baz" />
    </case>
    <default>
      <echo message="The value of property foo is not sensible" />
    </default>
</switch>
« More »

SymfonyConsoleTask

Symfony Console Task

Use \Project#createTask to register a new Task.

« More »

SymlinkSelector

A selector that selects symbolic links.

« More »

SymlinkTask

Generates symlinks based on a target / link combination.

Can also symlink contents of a directory, individually

Single target symlink example:

Symlink entire contents of directory

This will go through the contents of "/my/shared/library/*" and create a symlink for each entry into ${project.basedir}/library/

« More »

Table

« More »

TabToSpaces

Converts tabs to spaces.

Example:

Or:


  
« More »

TailFilter

Reads the last <code>n</code> lines of a stream. (Default is last10 lines.)

Example:

Or:


  
« More »

TarFileSet

This is a FileSet with the option to specify permissions.

Permissions are currently not implemented by PEAR Archive_Tar, but hopefully they will be in the future.

« More »

Target

The Target component. Carries all required target data. Implements the abstract class {@link TaskContainer}

« More »

TargetHandler

The target handler class.

This class handles the occurrence of a tag and it's possible nested tags (datatypes and tasks).

« More »

TargetLogger

Extends AnsiColorLogger to display times for each target

If used with the -logfile option, the output file will contain all the necessary escape codes to display the text in colorized mode when displayed in the console using applications like cat, more, etc.

This is designed to work on terminals that support ANSI color codes. It works on XTerm, ETerm, Mindterm, etc. It also works on Win9x (with ANSI.SYS loaded.)

NOTE: It doesn't work on WinNT's COMMAND.COM even with ANSI.SYS loaded.

The default colors used for differentiating the message levels can be changed by editing the phing/listener/defaults.properties file.

This file contains 5 key/value pairs: AnsiColorLogger.ERROR_COLOR=2;31 AnsiColorLogger.WARNING_COLOR=2;35 AnsiColorLogger.INFO_COLOR=2;36 AnsiColorLogger.VERBOSE_COLOR=2;32 AnsiColorLogger.DEBUG_COLOR=2;34

Another option is to pass a system variable named ant.logger.defaults, with value set to the path of the file that contains user defined Ansi Color Codes, to the java command using -D option.

To change these colors use the following chart:

 <B>ANSI COLOR LOGGER CONFIGURATION</B>

Format for AnsiColorLogger.*= Attribute;Foreground;Background

Attribute is one of the following: 0 -> Reset All Attributes (return to normal mode) 1 -> Bright (Usually turns on BOLD) 2 -> Dim 3 -> Underline 5 -> link 7 -> Reverse 8 -> Hidden

Foreground is one of the following: 30 -> Black 31 -> Red 32 -> Green 33 -> Yellow 34 -> Blue 35 -> Magenta 36 -> Cyan 37 -> White

Background is one of the following: 40 -> Black 41 -> Red 42 -> Green 43 -> Yellow 44 -> Blue 45 -> Magenta 46 -> Cyan 47 -> White

« More »

TarTask

Creates a tar archive using PEAR Archive_Tar.

This is very closely based on the ANT class of the same name.

« More »

Task

The base class for all Tasks.

Use \Project#createTask to register a new Task.

« More »

TaskAdapter

Use introspection to "adapt" an arbitrary ( not extending Task, but with similar patterns).

Use \Project#createTask to register a new Task.

« More »

TaskdefTask

Register a task for use within a buildfile.

This is for registering your own tasks -- or any non-core Task -- for use within a buildfile. If you find that you are using a particular class frequently, you may want to edit the phing/tasks/defaults.properties file so that it is included by default. You may also want to submit it (if LGPL or compatible license) to be included in Phing distribution.

  
  .
  .
  

TODO: -- possibly refactor since this is almost the same as TypeDefTask (right now these are just too simple to really justify creating an abstract class)

« More »

TempFile

This task sets a property to the name of a temporary file.

Unlike PhingFile::createTempFile(), this task does not (by default) actually create the temporary file, but it does guarantee that the file did not exist when the task was executed.

Examples:

<tempfile property="temp.file" />

create a temporary file

<tempfile property="temp.file" suffix=".xml" />

create a temporary file with the .xml suffix.

<tempfile property="temp.file" destDir="build"/>

create a temp file in the build subdir

« More »

TextElement

Text element points to a file or contains text.

« More »

ThrowTask

Exits the active build, giving an additional message if available.

Use \Project#createTask to register a new Task.

« More »

TidyFilter

This filter uses the bundled-with-PHP Tidy extension to filter input.

Example:


  
  

« More »

TimeFormatter

« More »

Timer

This class can be used to obtain the execution time of all of the scripts that are executed in the process of building a page.

Example: To be done before any scripts execute:

$Timer = new Timer; $Timer->Start_Timer();

To be done after all scripts have executed:

$timer->Stop_Timer(); $timer->Get_Elapsed_Time(int number_of_places);

« More »

TimerMap

« More »

TimestampedLogger

Like a normal logger, except with timed outputs.

Currently, it only writes which targets are being executed, and any messages that get logged.

« More »

Token

Holds a token.

« More »

TokenReader

Abstract class for TokenReaders.

« More »

TokenSource

A parameter is composed of a name, type and value.

Example of usage:

or:

« More »

TouchTask

Touch a file and/or fileset(s); corresponds to the Unix touch command.

If the file to touch doesn't exist, an empty one is created.

« More »

TranslateGettext

Replaces gettext("message id") and _("message id") with the translated string.

Gettext is great for creating multi-lingual sites, but in some cases (e.g. for performance reasons) you may wish to replace the gettext calls with the translations of the strings; that's what this task is for. Note that this is similar to ReplaceTokens, but both the find and the replace aspect is more complicated -- hence this is a separate, stand-alone filter.

Example:


« More »

TruncateTask

The base class for all Tasks.

Use \Project#createTask to register a new Task.

« More »

TryCatchTask

A wrapper task that lets you run tasks(s) when another set of tasks fails.

« More »

TstampCustomFormat

« More »

TstampTask

Sets properties to the current time, or offsets from the current time.

The default properties are TSTAMP, DSTAMP and TODAY;

Based on Ant's Tstamp task.

« More »

TypedefTask

Register a datatype for use within a buildfile.

This is for registering your own datatypes for use within a buildfile.

If you find that you are using a particular class frequently, you may want to edit the phing/types/defaults.properties file so that it is included by default. You may also want to submit it (if LGPL or compatible license) to be included in Phing distribution.

  
  .
  
    
  

TODO: -- possibly refactor since this is almost the same as TaskDefTask (right now these are just too simple to really justify creating an abstract class)

« More »

TypeSelector

Selector that selects a certain kind of file: directory or regular file.

It provides support for gathering the parameters together as well as for assigning an error message and throwing a build exception if an error is detected.

« More »

UnixFileSystem

UnixFileSystem class. This class encapsulates the basic file system functions for platforms using the unix (posix)-stylish filesystem. It wraps php native functions suppressing normal PHP error reporting and instead uses Exception to report and error.

This class is part of a oop based filesystem abstraction and targeted to run on all supported php platforms.

Note: For debugging turn track_errors on in the php.ini. The error messages and log messages from this class will then be clearer because $php_errormsg is passed as part of the message.

FIXME:

  • Comments
  • Error handling reduced to min, error are handled by PhingFile mainly
« More »

UnknownElement

Wrapper class that holds all information necessary to create a task that did not exist when Phing started.

This has something to do with phing encountering an task XML element it is not aware of at start time. This is a situation where special steps need to be taken so that the element is then known.

« More »

UntarTask

Extracts one or several tar archives using PEAR Archive_Tar

This is very closely based on the ANT class of the same name.

« More »

UnzipTask

Extracts one or several zip archives using ZipArchive class.

This is very closely based on the ANT class of the same name.

« More »

UpToDateTask

Sets the given property if the specified target has a timestamp greater than all of the source files.

Use \Project#createTask to register a new Task.

« More »

Variable

Variable Task.

Use \Project#createTask to register a new Task.

« More »

VersionCompareCondition

Condition that compare versions

« More »

VersionTask

VersionTask

Increments a three-part version number from a given file and writes it back to the file. Incrementing is based on given releasetype, which can be one of Major, Minor and Bugfix. Resulting version number is also published under supplied property.

« More »

WaitForTask

Based on Apache Ant Wait For:

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

« More »

WarnTask

Simple task to echo a warning message (Project::MSG_WARN) to all output devices.

Use \Project#createTask to register a new Task.

« More »

WikiPublishTask

Publish Wiki document using Wiki API.

Use \Project#createTask to register a new Task.

« More »

Win32FileSystem

This is an abstract class for platform specific filesystem implementations you have to implement each method in the platform specific filesystem implementation classes Your local filesytem implementation must extend this class.

You should also use this class as a template to write your local implementation Some native PHP filesystem specific methods are abstracted here as well. Anyway you must always use this methods via a PhingFile object (that by nature uses the *FileSystem drivers to access the real filesystem via this class using natives.

FIXME:

  • Error handling reduced to min fallthrough runtime exceptions more precise errorhandling is done by the PhingFile class
« More »

WinNTFileSystem

FileSystem for Windows NT/2000.

You should also use this class as a template to write your local implementation Some native PHP filesystem specific methods are abstracted here as well. Anyway you must always use this methods via a PhingFile object (that by nature uses the *FileSystem drivers to access the real filesystem via this class using natives.

FIXME:

  • Error handling reduced to min fallthrough runtime exceptions more precise errorhandling is done by the PhingFile class
« More »

WritableSelector

A selector that selects writable files.

« More »

Writer

Abstract class for writing character streams.

« More »

XincludeFilter

Applies Xinclude parsing to incoming text.

Uses PHP DOM XML support

« More »

XmlLintTask

A XML lint task. Checking syntax of one or more XML files against an XML Schema using the DOM extension.

Use \Project#createTask to register a new Task.

« More »

XmlLogger

Generates a file in the current directory with an XML description of what happened during a build.

The default filename is "log.xml", but this can be overridden with the property XmlLogger.file.

« More »

XMLPDOResultFormatter

XML formatter for PDO results.

This class reprsents the output of a query using a simple XML schema.

value value2 value value2

The actual names of the colums will depend on the fetchmode that was used with PDO.

« More »

XMLPHPUnitResultFormatter

Prints XML output of the test to a specified Writer

« More »

XMLPHPUnitResultFormatter5

Prints XML output of the test to a specified Writer

« More »

XmlPropertyTask

Task for setting properties from an XML file in buildfiles.

Use \Project#createTask to register a new Task.

« More »

XorCondition

The Xor condition type to exclusive or operations. This does not shortcut stuff.

« More »

XsltFilter

Applies XSL stylesheet to incoming text.

Uses PHP XSLT support (libxslt).

« More »

XsltParam

Class that holds an XSLT parameter.

« More »

XsltTask

Implements an XSLT processing filter while copying files.

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

« More »

YamlFileParser

Implements a YamlFileParser to parse yaml-files as array.

« More »

YesNoInputRequest

Encapsulates an input request that returns a boolean (yes/no).

« More »

ZendCodeAnalyzerTask

ZendCodeAnalyzerTask analyze PHP source code using the ZendCodeAnalyzer included in Zend Studio 5.1

Available warnings: zend-error - %s(line %d): %s oneline-comment - One-line comment ends with tag. bool-assign - Assignment seen where boolean expression is expected. Did you mean '==' instead of '='? bool-print - Print statement used when boolean expression is expected. bool-array - Array used when boolean expression is expected. bool-object - Object used when boolean expression is expected. call-time-ref - Call-time reference is deprecated. Define function as accepting parameter by reference instead. if-if-else - In if-if-else construction else relates to the closest if. Use braces to make the code clearer. define-params - define() requires two or three parameters. define-const - First parameter for define() should be string. Maybe you forgot quotes? break-var - Break/continue with variable is dangerous - break level can be out of scope. break-depth - Break/continue with depth more than current nesting level. var-once - Variable '%s' encountered only once. May be a typo? var-arg-unused - Function argument '%s' is never used. var-global-unused - Global variable '%s' is defined but never used. var-use-before-def - Variable '%s' is used before it was assigned. var-use-before-def-global - Global variable '%s' is used without being assigned. You are probably relying on register_globals feature of PHP. Note that this feature is off by default. var-no-global - PHP global variable '%s' is used as local. Maybe you wanted to define '%s' as global? var-value-unused - Value assigned to variable '%s' is never used var-ref-notmodified - Function parameter '%s' is passed by reference but never modified. Consider passing by value. return-empty-val - Function '%s' has both empty return and return with value. return-empty-used - Function '%s' has empty return but return value is used. return-noref - Function '%s' returns reference but the value is not assigned by reference. Maybe you meant '=&' instead of '='? return-end-used - Control reaches the end of function '%s'(file %s, line %d) but return value is used. sprintf-miss-args - Missing arguments for sprintf: format reqires %d arguments but %d are supplied. sprintf-extra-args - Extra arguments for sprintf: format reqires %d arguments but %d are supplied. unreach-code - Unreachable code in function '%s'. include-var - include/require with user-accessible variable can be dangerous. Consider using constant instead. non-object - Variable '%s' used as object, but has different type. bad-escape - Bad escape sequence: \%c, did you mean \%c? empty-cond - Condition without a body expr-unused - Expression result is never used

« More »

ZendGuardEncodeTask

Encodes files using Zeng Guard Encoder

This is very closely based on the ANT class of the same name.

« More »

ZendGuardFileSet

This is a FileSet with the to specify permissions.

Permissions are currently not implemented by PEAR Archive_Tar, but hopefully they will be in the future.

« More »

ZendGuardLicenseTask

Produce license files using Zeng Guard.

The task can produce a license file from the given license properties or it can use a template.

« More »

ZipFileSet

This is a FileSet with the to specify permissions.

Permissions are currently not implemented by PEAR Archive_Tar, but hopefully they will be in the future.

« More »

ZipTask

Creates a zip archive using PHP ZipArchive extension/

This is very closely based on the ANT class of the same name.

« More »

zsdtBaseTask

Class ZendServerDeploymentToolTask

Use \Project#createTask to register a new Task.

« More »

zsdtPackTask

Class ZendServerDeploymentToolTask

Use \Project#createTask to register a new Task.

« More »

zsdtValidateTask

Class ZendServerDeploymentToolTask

Use \Project#createTask to register a new Task.

« More »