PHP 클래스 ezcWorkflowConditionVariable, Workflow

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

보호된 프로퍼티들

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