tasks/system/condition/ConditionBase.php
\ConditionBase
Package: phing\tasks\system\condition
Returns
Parameters
Parameters
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.
@author Hans Lellelid hans@xmpl.org
- Implements
- Parent(s)
- \ProjectComponent
- Children
- \IfTask
- \ElseIfTask
- \NotCondition
- \OrCondition
- \AndCondition
- \ConditionTask
- Author
- Andreas Aderhold
- Copyright
- © 2001,2002 THYRELL. All rights reserved
- Version
- $Revision: 557 $
Properties

\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::$projectMethods

createReferenceExists(
)
:
\ReferenceExistsCondition| Type | Description |
|---|---|
| \ReferenceExistsCondition |

log(
$msg, integer $level
=
Project::MSG_INFO
)
:
void
@param string $msg The message to be logged.
| Name | Type | Description |
|---|---|---|
| $msg | ||
| $level | integer | The message's priority at this message should have |

setProject(
\Project $project
)
:
void
inherited
References the project to the current component.
Inherited from: \ProjectComponent::setProject()| Name | Type | Description |
|---|---|---|
| $project | \Project | The reference to the current project |