phing-tasks-system-condition
[ class tree: phing-tasks-system-condition ] [ index: phing-tasks-system-condition ] [ all elements ]

Class: ConditionBase

Source Location: /tasks/system/condition/ConditionBase.php

Class Overview

ProjectComponent
   |
   --ConditionBase

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(s):

Version:

  • $Revision: 557 $

Copyright:

  • © 2001,2002 THYRELL. All rights reserved

Implements interfaces:

  • IteratorAggregate (internal interface)

Variables

Methods


Child classes:

IfTask
Perform some tasks based on whether a given condition holds true or not.
ElseIfTask
"Inner" class for IfTask.
NotCondition
<not> condition.
OrCondition
<or> condition container.
AndCondition
<and> condition container.
ConditionTask
<condition> task as a generalization of <available>

Inherited Variables

Inherited Methods

Class: ProjectComponent

ProjectComponent::getProject()
Returns a reference to current project
ProjectComponent::log()
Logs a message with the given priority.
ProjectComponent::setProject()
References the project to the current component.

Class Details

[line 38]
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.



Tags:

author:  Andreas Aderhold <andi@binarycloud.com>
author:  Hans Lellelid <hans@xmpl.org>
version:  $Revision: 557 $
copyright:  © 2001,2002 THYRELL. All rights reserved
abstract:  


[ Top ]


Class Variables

$conditions = array()

[line 40]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


method addAvailable [line 60]

void addAvailable( $a)



Parameters:

AvailableTask   $a  

[ Top ]

method countConditions [line 42]

void countConditions( )



[ Top ]

method createAnd [line 76]

AndCondition createAnd( )



[ Top ]

method createContains [line 130]

ContainsCondition createContains( )



[ Top ]

method createEquals [line 94]

EqualsCondition createEquals( )



[ Top ]

method createIsFalse [line 112]

IsFalseCondition createIsFalse( )



[ Top ]

method createIsSet [line 139]

IsSetCondition createIsSet( )



[ Top ]

method createIsTrue [line 121]

IsTrueCondition createIsTrue( )



[ Top ]

method createNot [line 67]

NotCondition createNot( )



[ Top ]

method createOr [line 85]

OrCondition createOr( )



[ Top ]

method createOs [line 103]

OsCondition createOs( )



[ Top ]

method createReferenceExists [line 148]

ReferenceExistsCondition createReferenceExists( )



[ Top ]

method getConditions [line 53]

void getConditions( )



[ Top ]

method getIterator [line 49]

void getIterator( )

Required for IteratorAggregate




Implementation of:
IteratorAggregate::getIterator
[ Top ]


Documentation generated on Mon, 19 Oct 2009 10:50:34 +0200 by phpDocumentor 1.4.3