PHP Класс ezcWorkflowConditionNot, Workflow
An object of the ezcWorkflowConditionNot decorates an ezcWorkflowCondition object
and negates its expression.
Показать файл
Открыть проект
Примеры использования класса
Защищенные свойства (Protected)
Свойство |
Тип |
Описание |
|
$condition |
ezcWorkflowCondition |
Holds the expression to negate. |
|
Открытые методы
Метод |
Описание |
|
__construct ( ezcWorkflowCondition $condition ) |
Constructs a new not condition on $condition. |
|
__toString ( ) : string |
Returns a textual representation of this condition. |
|
evaluate ( mixed $value ) : boolean |
Evaluates this condition with the value $value and returns true if the condition holds. |
|
getCondition ( ) : ezcWorkflowCondition |
Returns the condition that is negated. |
|
Описание методов
__construct()
публичный Метод
Constructs a new not condition on $condition.
public __construct ( ezcWorkflowCondition $condition ) |
$condition |
ezcWorkflowCondition |
|
__toString()
публичный Метод
Returns a textual representation of this condition.
evaluate()
публичный Метод
If the condition does not hold false is returned.
getCondition()
публичный Метод
Returns the condition that is negated.
public getCondition ( ) : ezcWorkflowCondition |
Результат |
ezcWorkflowCondition |
|
Описание свойств
$condition защищенное свойство
Holds the expression to negate.
protected ezcWorkflowCondition $condition |
Результат |
ezcWorkflowCondition |
|