ProjectComponent.php
Abstract class providing properties and methods common to all the project components
- Author
- Andreas Aderhold
- Author
- Hans Lellelid
- Package
- phing
- Version
- $Id$
\ProjectComponent
Package: phing
Abstract class providing properties and methods common to all the project components
- Children
- \IsFalseCondition
- \IsTrueCondition
- \ConditionBase
- \ReferenceExistsCondition
- \IsSetCondition
- \DataType
- \Task
- Author
- Andreas Aderhold
- Author
- Hans Lellelid
- Version
- $Id$
Properties

\Project
$project= 'null'
Holds a reference to the project that a project component (a task, a target, etc.) belongs to
A reference to the current project instance
Default value
nullDetails- Type
- \Project
Methods

getProject(
)
:
\ProjectReturns a reference to current project
Returns
| Type | Description |
|---|---|
| \Project | Reference to current porject object |

log(
string $msg, integer $level
=
Project::MSG_INFO
)
:
voidLogs a message with the given priority.
Parameters
| Name | Type | Description |
|---|---|---|
| $msg | string | The message to be logged. |
| $level | integer | The message's priority at this message should have |