NotCondition

Extends \ConditionBase Implements \Condition

<not> condition.

Evaluates to true if the single condition nested into it is false and vice versa.

author

Andreas Aderhold andi@binarycloud.com

copyright

2001,2002 THYRELL. All rights reserved

version

$Id: ef6fe783a698a1646e2c687c4cfa6c066129f6d7 $

access

public

package

phing.tasks.system.condition

Methods

addAvailable

addAvailable(\AvailableTask $a) : void
inherited

Arguments

countConditions

countConditions() 
inherited

createAnd

createAnd() : \AndCondition
inherited

Response

\AndCondition

createContains

createContains() : \ContainsCondition
inherited

createEquals

createEquals() : \EqualsCondition
inherited

Response

\EqualsCondition

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

createReferenceExists

createReferenceExists() : \ReferenceExistsCondition
inherited

Creates the object for the child element

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

Arguments

$elementName

string

$project

\Project

Response

\Condition

evaluate

evaluate() : boolean

Response

boolean

getConditions

getConditions() 
inherited

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) 
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) 
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