PHP 클래스 ezcWorkflowConditionNot, Workflow

An object of the ezcWorkflowConditionNot decorates an ezcWorkflowCondition object and negates its expression.
상속: implements ezcWorkflowCondition
파일 보기 프로젝트 열기: zetacomponents/workflow 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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.
public __toString ( ) : string
리턴 string

evaluate() 공개 메소드

If the condition does not hold false is returned.
public evaluate ( mixed $value ) : boolean
$value mixed
리턴 boolean true when the condition holds, false otherwise.

getCondition() 공개 메소드

Returns the condition that is negated.
public getCondition ( ) : ezcWorkflowCondition
리턴 ezcWorkflowCondition

프로퍼티 상세

$condition 보호되어 있는 프로퍼티

Holds the expression to negate.
protected ezcWorkflowCondition $condition
리턴 ezcWorkflowCondition