# tasks/system/condition/IsFalseCondition.php

## \IsFalseCondition
jump to top

Package: phing\tasks\system\condition

Condition that tests whether a given string evals to false.

Implements
  \Condition
Parent(s)
  \ProjectComponent
Author
  Hans Lellelid (Phing)
Author
  Steve Loughran (Ant)
Version
  $Revision: 526 $

### Properties

`\Project $project= 'null'`
inherited

Holds a reference to the project that a project component (a task, a target, etc.) belongs to

A reference to the current project instanceInherited from: \ProjectComponent::$project
Default value `null` Details

Type
  \Project
Inherited_from
  \ProjectComponent::$project

`$value= ''`

what we eval

Details

Type

### Methods

`evaluate( ) : boolean`

return the inverted value;

Returns

Type | Description
--- | ---
boolean |

Throws

Exception | Description
--- | ---
\BuildException | if someone forgot to spec a value

`getProject( ) : \Project`
inherited

Returns a reference to current project

Inherited from: \ProjectComponent::getProject()
Returns

Type | Description
--- | ---
\Project | Reference to current porject object

`log( $msg, integer $level = Project::MSG_INFO ) : void`
inherited

Logs a message with the given priority.

Inherited from: \ProjectComponent::log()

@param string $msg The message to be logged.

Parameters

Name | Type | Description
--- | --- | ---
$msg |  |
$level | integer | The message's priority at this message should have

`setProject( \Project $project ) : void`
inherited

References the project to the current component.

Inherited from: \ProjectComponent::setProject()
Parameters

Name | Type | Description
--- | --- | ---
$project | \Project | The reference to the current project

`setValue( boolean $value ) : void`

Set the value to be tested.

Parameters

Name | Type | Description
--- | --- | ---
$value | boolean |

Documentation was generated by DocBlox 0.15.1.