tasks/system/condition/ConditionBase.php
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
- Author
- Andreas Aderhold
- Copyright
- 2001,2002 THYRELL. All rights reserved
- Package
- phing.tasks.system.condition
- Version
- $Id$
\ConditionBase
Package: phing\tasks\system\condition
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
- Parent(s)
- \ProjectComponent
- Children
- \IfTask
- \ElseIfTask
- \NotCondition
- \OrCondition
- \AndCondition
- \WaitForTask
- \ConditionTask
- Author
- Andreas Aderhold
- Copyright
- 2001,2002 THYRELL. All rights reserved
- Version
- $Id$
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::$$project
Default value
nullDetails- Type
- \Project
- Inherited_from
- \ProjectComponent::$$project
Methods

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

log(
string $msg, integer $level
=
Project::MSG_INFO
)
:
void
Parameters
| Name | Type | Description |
|---|---|---|
| $msg | string | The message to be logged. |
| $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()
Parameters
| Name | Type | Description |
|---|---|---|
| $project | \Project | The reference to the current project |