# 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
jump to top

Package: phing\tasks\system

Call another target in the same project.

``

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

Parent(s)
  \Task < \ProjectComponent
Access
  public
Author
  Andreas Aderhold
Copyright
  2001,2002 THYRELL. All rights reserved
Version
  $Revision: 552 $

### Properties

`\PhingTask $callee= ''`

The called Phing task.

Details

Type
  \PhingTask

`boolean $inheritAll= 'true'`

Whether to inherit all properties from current project.

Default value `true` Details

Type
  boolean

`boolean $inheritRefs= 'false'`

Whether to inherit refs from current project.

Default value `false` Details

Type
  boolean

`string $subTarget= ''`

The target to call.

Details

Type
  string

### Methods

`createParam( ) : void`

Alias for createProperty

Details

See
  \createProperty()

`createProperty( ) : void`

Property to pass to the invoked target.

`getDescription( ) : void`

`getLocation( ) : void`

`getOwningTarget( ) : void`

`getProject( ) : void`

`getRegisterSlot( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`init( ) : void`

init this task by creating new instance of the phing task and configuring it's by calling its own init method.

`log( ) : void`

`main( ) : void`

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

`maybeConfigure( ) : void`

`perform( ) : void`

`setDescription( ) : void`

`setInheritAll( boolean $inherit ) : void`

If true, pass all properties to the new Phing project.

Defaults to true. Future use.

Parameters

Name | Type | Description
--- | --- | ---
$inherit | boolean | new value

`setInheritRefs( boolean $inheritRefs ) : void`

If true, pass all references to the new Phing project.

Defaults to false. Future use.

Parameters

Name | Type | Description
--- | --- | ---
$inheritRefs | boolean | new value

`setLocation( ) : void`

`setOwningTarget( ) : void`

`setProject( ) : void`

`setRuntimeConfigurableWrapper( ) : void`

`setTarget( $target ) : void`

Target to execute, required.

Parameters

Name | Type | Description
--- | --- | ---
$target |  |

`setTaskName( ) : void`

`setTaskType( ) : void`

Documentation was generated by DocBlox 0.17.1.