AndCondition

Extends \ConditionBase Implements \Condition

<and> condition container.

Iterates over all conditions and returns false as soon as one evaluates to false.

author

Hans Lellelid hans@xmpl.org

author

Andreas Aderhold andi@binarycloud.com

copyright

2001,2002 THYRELL. All rights reserved

version

$Id: 8449167915cfddb5dead1d8e7535c49920f792c5 $

package

phing.tasks.system.condition

Methods

addAvailable

addAvailable(\AvailableTask $a) : void
inherited

Arguments

countConditions

countConditions() : integer
inherited

Response

integer

createAnd

createAnd() : \AndCondition
inherited

Response

\AndCondition

createContains

createContains() : \ContainsCondition
inherited

createEquals

createEquals() : \EqualsCondition
inherited

Response

\EqualsCondition

createFilesMatch

createFilesMatch() 
inherited

createHasFreeSpace

createHasFreeSpace() 
inherited

createHttp

createHttp() 
inherited

createIsFalse

createIsFalse() : \IsFalseCondition
inherited

createIsSet

createIsSet() : \IsSetCondition
inherited

Response

\IsSetCondition

createIsTrue

createIsTrue() : \IsTrueCondition
inherited

Response

\IsTrueCondition

createNot

createNot() : \NotCondition
inherited

Response

\NotCondition

createOr

createOr() : \OrCondition
inherited

Response

\OrCondition

createOs

createOs() : \OsCondition
inherited

Response

\OsCondition

createPhingVersion

createPhingVersion() 
inherited

createReferenceExists

createReferenceExists() : \ReferenceExistsCondition
inherited

createSocket

createSocket() 
inherited

createVersionCompare

createVersionCompare() 
inherited

createXor

createXor() : \XorCondition
inherited

Response

\XorCondition

Creates the object for the child element

customChildCreator(string $elementName, \Project $project) : \Condition
inherited
throws

Arguments

$elementName

string

the name of the element that has been requested

$project

\Project

The project the element is in

Response

\Condition

evaluate

evaluate() : boolean

Response

boolean

getConditions

getConditions() : array<mixed,\Condition>
inherited

Response

array<mixed,\Condition>

Required for IteratorAggregate

getIterator() 
inherited

Returns a reference to current project

getProject() : \Project
inherited

Response

\Project

Reference to current porject object

Logs a message with the given priority.

log(string $msg, integer $level = \Project::MSG_INFO) : void
inherited

Arguments

$msg

string

The message to be logged.

$level

integer

The message's priority at this message should have

References the project to the current component.

setProject(\Project $project) : void
inherited

Arguments

$project

\Project

The reference to the current project

Properties

conditions

conditions : 
inherited

Type(s)

Holds a reference to the project that a project component (a task, a target, etc.) belongs to

project : \Project
inherited
var

A reference to the current project instance

Type(s)

\Project