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

Class: ConditionTask

Source Location: /tasks/system/ConditionTask.php

Class Overview

ProjectComponent
   |
   --ConditionBase
      |
      --ConditionTask

<condition> task as a generalization of <available>


Author(s):

Version:

  • $Revision: 526 $ $Date: 2009-08-11 14:11:17 +0200 (Tue, 11 Aug 2009) $

Copyright:

  • © 2001,2002 THYRELL. All rights reserved

Methods


Inherited Variables

Inherited Methods


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