Condition that tests whether a given reference exists.

author Matthias Pigulla <mp@webfactory.de> (Phing)
version $Id$
package phing.tasks.system.condition

 Methods

Check whether the reference exists.

evaluate() : boolean

Exceptions

\BuildException

Returns

boolean

Returns a reference to current project

getProject() : \Project
Inherited
inherited_from \ProjectComponent::getProject()

Returns

\ProjectReference to current porject object

Logs a message with the given priority.

log(string $msg, integer $level) 
Inherited
inherited_from \ProjectComponent::log()

Parameters

$msg

string

The message to be logged.

$level

integer

The message's priority at this message should have

References the project to the current component.

setProject(\Project $project) 
Inherited
inherited_from \ProjectComponent::setProject()

Parameters

$project

\Project

The reference to the current project

setRef()

setRef($id) 

Parameters

$id

 Properties

 

$project : \Project
Inherited
inherited_from \ProjectComponent::$$project
 

$refid