ElseIfTask

Extends \ConditionBase

"Inner" class for IfTask.

This class has same basic structure as the IfTask, although of course it doesn't support tags.

package

phing.tasks.system

Methods

addAvailable

addAvailable(\AvailableTask $a) : void
inherited

Arguments

addThen

addThen(\SequentialTask $t) 
throws

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

createIsFailure

createIsFailure() 
inherited

createIsFalse

createIsFalse() : \IsFalseCondition
inherited

createIsPropertyFalse

createIsPropertyFalse() : \IsPropertyFalseCondition
inherited

createIsPropertyTrue

createIsPropertyTrue() : \IsPropertyTrueCondition
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
throws

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

main

main() 

References the project to the current component.

setProject(\Project $project) : void
inherited

Arguments

$project

\Project

The reference to the current project

Properties

thenTasks

thenTasks : 

Type(s)

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