tasks/system/condition/IsSetCondition.php

Show: inherited
Table of Contents

Condition that tests whether a given property has been set.

Author
Hans Lellelid (Phing)  
Author
Stefan Bodewig (Ant)  
Package
phing.tasks.system.condition  
Version
$Id$  

\IsSetCondition

Package: phing\tasks\system\condition

Condition that tests whether a given property has been set.

Parent(s)
\Condition
Author
Hans Lellelid (Phing)  
Author
Stefan Bodewig (Ant)  
Version
$Id$  

Properties

Propertyprotected\Project  $project= 'null'
inherited

Holds a reference to the project that a project component (a task, a target, etc.) belongs to

A reference to the current project instanceInherited from: \ProjectComponent::$$project
Default valuenullDetails
Type
\Project
Inherited_from
\ProjectComponent::$$project  
Propertyprivate  $property= ''
Details
Type
n/a

Methods

methodpublicevaluate( ) : void

Check whether property is set.

Throws
Exception Description
\BuildException
methodpublicgetProject( ) : \Project
inherited

Returns a reference to current project

Inherited from: \ProjectComponent::getProject()
Returns
Type Description
\Project Reference to current porject object
methodpubliclog( string $msg, integer $level = Project::MSG_INFO ) : void
inherited

Logs a message with the given priority.

Inherited from: \ProjectComponent::log()
Parameters
Name Type Description
$msg string

The message to be logged.

$level integer

The message's priority at this message should have

methodpublicsetProject( \Project $project ) : void
inherited

References the project to the current component.

Inherited from: \ProjectComponent::setProject()
Parameters
Name Type Description
$project \Project

The reference to the current project

methodpublicsetProperty(  $p ) : void

Parameters
Name Type Description
$p
Documentation was generated by DocBlox 0.18.1.