phing-tasks-system

# Class: ConditionTask Source Location: /tasks/system/ConditionTask.php
### Class Overview
    ProjectComponent
       |
       --ConditionBase
          |
          --ConditionTask
<condition> task as a generalization of <available> #### Author(s): Andreas Aderhold <andi@binarycloud.com> #### Version: $Revision: 526 $ $Date: 2009-08-11 14:11:17 +0200 (Tue, 11 Aug 2009) $ #### Copyright: © 2001,2002 THYRELL. All rights reserved | ### Methods main setProperty setValue
### Inherited Variables #### Class: ConditionBase ConditionBase::$conditions #### Class: ProjectComponent ProjectComponent::$project | ### Inherited Methods #### Class: ConditionBase ConditionBase::addAvailable() ConditionBase::countConditions() ConditionBase::createAnd() ConditionBase::createContains() ConditionBase::createEquals() ConditionBase::createIsFalse() ConditionBase::createIsSet() ConditionBase::createIsTrue() ConditionBase::createNot() ConditionBase::createOr() ConditionBase::createOs() ConditionBase::createReferenceExists() ConditionBase::getConditions() ConditionBase::getIterator() Required for IteratorAggregate #### 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 39] <condition> task as a generalization of <available> This task supports boolean logic as well as pluggable conditions to decide, whether a property should be set. This task does not extend Task to take advantage of ConditionBase. #### Tags:
author: | Andreas Aderhold <andi@binarycloud.com>
version: | $Revision: 526 $ $Date: 2009-08-11 14:11:17 +0200 (Tue, 11 Aug 2009) $
copyright: | © 2001,2002 THYRELL. All rights reserved
access: | public
[ Top ] ### Class Methods ### method main [line 61]
`void main( )`
See whether our nested condition holds and set the property. [ Top ] ### method setProperty [line 47]
`void setProperty( $p)`
The name of the property to set. Required. #### Parameters:
| $p |
[ Top ] ### method setValue [line 54]
`void setValue( $v)`
The value for the property to set. Defaults to "true". #### Parameters:
| $v |
[ Top ] Documentation generated on Mon, 19 Oct 2009 10:50:34 +0200 by phpDocumentor 1.4.3