PHP Class ConditionTask, symfony-1.4

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.

Author: Andreas Aderhold ([email protected])
Inheritance: extends ConditionBase
Mostrar archivo Open project: vjousse/symfony-1.4

Public Methods

Method Description
main ( ) See whether our nested condition holds and set the property.
setProperty ( $p ) The name of the property to set. Required.
setValue ( $v ) The value for the property to set. Defaults to "true".

Method Details

main() public method

See whether our nested condition holds and set the property.
public main ( )

setProperty() public method

The name of the property to set. Required.
public setProperty ( $p )

setValue() public method

The value for the property to set. Defaults to "true".
public setValue ( $v )