tasks/system/condition/AndCondition.php
<and> condition container.
Iterates over all conditions and returns false as soon as one evaluates to false.
- Author
- Hans Lellelid
- Author
- Andreas Aderhold
- Copyright
- © 2001,2002 THYRELL. All rights reserved
- Package
- phing.tasks.system.condition
- Version
- $Revision: 526 $
\AndCondition
Package: phing\tasks\system\condition
Parameters
Returns
Returns
Returns
Returns
Returns
Returns
Returns
Returns
Returns
Returns
Parameters
Parameters
<and> condition container.
Iterates over all conditions and returns false as soon as one evaluates to false.
- Implements
- \Condition
- Parent(s)
- \ConditionBase < \ProjectComponent
- Author
- Hans Lellelid
- Author
- Andreas Aderhold
- Copyright
- © 2001,2002 THYRELL. All rights reserved
- Version
- $Revision: 526 $
Properties

$conditions= 'array()'
inheritedInherited from:
\ConditionBase::$conditions
Default value
array()Details- Type
- Inherited_from
- \ConditionBase::$conditions

\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::$projectMethods

addAvailable(
$a
)
:
void
inherited
Inherited from:
\ConditionBase::addAvailable()
| Name | Type | Description |
|---|---|---|
| $a |

createAnd(
)
:
\AndCondition
inherited
Inherited from:
\ConditionBase::createAnd()
| Type | Description |
|---|---|
| \AndCondition |

createContains(
)
:
\ContainsCondition
inherited
Inherited from:
\ConditionBase::createContains()
| Type | Description |
|---|---|
| \ContainsCondition |

createEquals(
)
:
\EqualsCondition
inherited
Inherited from:
\ConditionBase::createEquals()
| Type | Description |
|---|---|
| \EqualsCondition |

createIsFalse(
)
:
\IsFalseCondition
inherited
Inherited from:
\ConditionBase::createIsFalse()
| Type | Description |
|---|---|
| \IsFalseCondition |

createIsSet(
)
:
\IsSetCondition
inherited
Inherited from:
\ConditionBase::createIsSet()
| Type | Description |
|---|---|
| \IsSetCondition |

createIsTrue(
)
:
\IsTrueCondition
inherited
Inherited from:
\ConditionBase::createIsTrue()
| Type | Description |
|---|---|
| \IsTrueCondition |

createNot(
)
:
\NotCondition
inherited
Inherited from:
\ConditionBase::createNot()
| Type | Description |
|---|---|
| \NotCondition |

createOr(
)
:
\OrCondition
inherited
Inherited from:
\ConditionBase::createOr()
| Type | Description |
|---|---|
| \OrCondition |

createOs(
)
:
\OsCondition
inherited
Inherited from:
\ConditionBase::createOs()
| Type | Description |
|---|---|
| \OsCondition |

createReferenceExists(
)
:
\ReferenceExistsCondition
inherited
Inherited from:
\ConditionBase::createReferenceExists()
| Type | Description |
|---|---|
| \ReferenceExistsCondition |

log(
$msg, integer $level
=
Project::MSG_INFO
)
:
void
@param string $msg The message to be logged.
| 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()| Name | Type | Description |
|---|---|---|
| $project | \Project | The reference to the current project |