classes/phing/tasks/system/PhingCallTask.php

Call another target in the same project.

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

access
public
author
Andreas Aderhold
copyright
2001,2002 THYRELL. All rights reserved
package
phing.tasks.system
version
$Revision: 552 $

\PhingCallTask

Call another target in the same project.

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

Extends from
\Task
access
public
author
Andreas Aderhold
copyright
2001,2002 THYRELL. All rights reserved
package
phing.tasks.system
version
$Revision: 552 $

Properties

Propertyprivate\PhingTask  $callee= ''

The called Phing task.

Details
Type
\PhingTask
Propertyprivateboolean  $inheritAll= 'true'

Whether to inherit all properties from current project.

Default valuetrueDetails
Type
boolean
Propertyprivateboolean  $inheritRefs= 'false'

Whether to inherit refs from current project.

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $subTarget= ''

The target to call.

Details
Type
string

Methods

methodpublic  createParam( ) :
Alias for createProperty
Details
see
\createProperty()
methodpublic  createProperty( ) :
Property to pass to the invoked target.
methodpublic  init( ) :
init this task by creating new instance of the phing task and configuring it's by calling its own init method.
methodpublic  main( ) :
hand off the work to the phing task of ours, after setting it up

@throws BuildException on validation failure or if the target didn't execute

methodpublic  setInheritAll( boolean $inherit ) :
If true, pass all properties to the new Phing project.

Defaults to true. Future use.

Parameters
Name Type Description
$inherit boolean new value
methodpublic  setInheritRefs( boolean $inheritRefs ) :
If true, pass all references to the new Phing project.

Defaults to false. Future use.

Parameters
Name Type Description
$inheritRefs boolean new value
methodpublic  setTarget(  $target ) :
Target to execute, required.
Parameters
Name Type Description
$target
Documentation was generated by DocBlox 0.13.1.