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

addThen

addThen(\SequentialTask $t) 

Arguments

evaluate

evaluate() : boolean

Response

boolean

main

main() 

countConditions

countConditions() 
inherited

Required for IteratorAggregate

getIterator() 
inherited

getConditions

getConditions() 
inherited

addAvailable

addAvailable(\AvailableTask $a) : void
inherited

Arguments

createNot

createNot() : \NotCondition
inherited

Response

\NotCondition

createAnd

createAnd() : \AndCondition
inherited

Response

\AndCondition

createOr

createOr() : \OrCondition
inherited

Response

\OrCondition

createEquals

createEquals() : \EqualsCondition
inherited

Response

\EqualsCondition

createOs

createOs() : \OsCondition
inherited

Response

\OsCondition

createIsFalse

createIsFalse() : \IsFalseCondition
inherited

createIsTrue

createIsTrue() : \IsTrueCondition
inherited

Response

\IsTrueCondition

createContains

createContains() : \ContainsCondition
inherited

createIsSet

createIsSet() : \IsSetCondition
inherited

Response

\IsSetCondition

createReferenceExists

createReferenceExists() : \ReferenceExistsCondition
inherited

customChildCreator

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

Arguments

$elementName

string

$project

\Project

Response

\Condition

References the project to the current component.

setProject(\Project $project) 
inherited

Arguments

$project

\Project

The reference to the current project

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

Properties

thenTasks

thenTasks : 

conditions

conditions : 
inherited

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