PHP 클래스 ezcWorkflowConditionVariables, Workflow

상속: implements ezcWorkflowCondition
파일 보기 프로젝트 열기: zetacomponents/workflow 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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