ProjectComponent.php

Show: inherited
Table of Contents

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

Propertyprotected\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 valuenullDetails
Type
\Project

Methods

methodpublicgetProject( ) : \Project

Returns a reference to current project

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

Logs 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

methodpublicsetProject( \Project $project ) : void

References the project to the current component.

Parameters
Name Type Description
$project \Project

The reference to the current project

Documentation was generated by DocBlox 0.18.1.