PHP Класс ezcWorkflowConditionVariable, Workflow

Наследование: implements ezcWorkflowCondition
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$condition ezcWorkflowCondition The condition that is applied to the variable.
$variableName string The name of the variable the condition is applied to.

Открытые методы

Метод Описание
__construct ( string $variableName, ezcWorkflowCondition $condition ) Constructor.
__toString ( ) : string Returns a textual representation of this condition.
evaluate ( mixed $value ) : boolean Evaluates this condition.
getCondition ( ) : ezcWorkflowCondition Returns the condition.
getVariableName ( ) : string Returns the name of the variable the condition is evaluated for.

Описание методов

__construct() публичный Метод

Constructor.
public __construct ( string $variableName, ezcWorkflowCondition $condition )
$variableName string
$condition ezcWorkflowCondition

__toString() публичный Метод

Returns a textual representation of this condition.
public __toString ( ) : string
Результат string

evaluate() публичный Метод

Evaluates this condition.
public evaluate ( mixed $value ) : boolean
$value mixed
Результат boolean true when the condition holds, false otherwise.

getCondition() публичный Метод

Returns the condition.
public getCondition ( ) : ezcWorkflowCondition
Результат ezcWorkflowCondition

getVariableName() публичный Метод

Returns the name of the variable the condition is evaluated for.
public getVariableName ( ) : string
Результат string

Описание свойств

$condition защищенное свойство

The condition that is applied to the variable.
protected ezcWorkflowCondition $condition
Результат ezcWorkflowCondition

$variableName защищенное свойство

The name of the variable the condition is applied to.
protected string $variableName
Результат string