tasks/system/condition/ConditionBase.php

Show: inherited
Table of Contents

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

Propertypublic  $conditions= 'array()'
Default valuearray()Details
Type
n/a
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  

Methods

methodpublicaddAvailable(  $a ) : void

Parameters
Name Type Description
$a
methodpubliccountConditions( ) : void

methodpubliccreateAnd( ) : \AndCondition

Returns
Type Description
\AndCondition
methodpubliccreateContains( ) : \ContainsCondition

Returns
Type Description
\ContainsCondition
methodpubliccreateEquals( ) : \EqualsCondition

Returns
Type Description
\EqualsCondition
methodpubliccreateIsFalse( ) : \IsFalseCondition

Returns
Type Description
\IsFalseCondition
methodpubliccreateIsSet( ) : \IsSetCondition

Returns
Type Description
\IsSetCondition
methodpubliccreateIsTrue( ) : \IsTrueCondition

Returns
Type Description
\IsTrueCondition
methodpubliccreateNot( ) : \NotCondition

Returns
Type Description
\NotCondition
methodpubliccreateOr( ) : \OrCondition

Returns
Type Description
\OrCondition
methodpubliccreateOs( ) : \OsCondition

Returns
Type Description
\OsCondition
methodpubliccreateReferenceExists( ) : \ReferenceExistsCondition

Returns
Type Description
\ReferenceExistsCondition
methodpublicgetConditions( ) : void

methodpublicgetIterator( ) : void

Required for IteratorAggregate

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

\ConditionEnumeration

Package: phing\tasks\system\condition

"Inner" class for handling enumerations.

Uses build-in PHP5 iterator support.

Parent(s)
?\Iterator

Properties

Propertyprivate  $num= '0'

Current element number

Default value0Details
Type
n/a
Propertyprivate  $outer= ''

"Outer" ConditionBase class.

Details
Type
n/a

Methods

methodpublic__construct(  $outer ) : void

Parameters
Name Type Description
$outer
methodpubliccurrent( ) : void

methodpublickey( ) : void

methodpublicnext( ) : void

methodpublicrewind( ) : void

methodpublicvalid( ) : void

Documentation was generated by DocBlox 0.18.1.