PHP Класс ezcWorkflowConditionVariables, Workflow

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

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

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

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

Метод Описание
__construct ( string $variableNameA, string $variableNameB, ezcWorkflowCondition $condition ) Constructor.
__toString ( ) : string Returns a textual representation of this condition.
evaluate ( mixed $value ) : boolean Evaluates this condition.
getCondition ( ) : ezcWorkflowCondition Returns the condition.
getVariableNames ( ) : array Returns the names of the variables the condition is evaluated for.

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

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

Constructor.
public __construct ( string $variableNameA, string $variableNameB, ezcWorkflowCondition $condition )
$variableNameA string
$variableNameB 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

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

Returns the names of the variables the condition is evaluated for.
public getVariableNames ( ) : array
Результат array

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

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

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

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

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

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

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