PHP 클래스 ezcWorkflowConditionNot, Workflow
An object of the ezcWorkflowConditionNot decorates an ezcWorkflowCondition object
and negates its expression.
파일 보기
프로젝트 열기: 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. |
|
메소드 상세
Constructs a new not condition on $condition.
public __construct ( ezcWorkflowCondition $condition ) |
$condition |
ezcWorkflowCondition |
|
Returns a textual representation of this condition.
If the condition does not hold false is returned.
Returns the condition that is negated.
public getCondition ( ) : ezcWorkflowCondition |
리턴 |
ezcWorkflowCondition |
|
프로퍼티 상세
Holds the expression to negate.
protected ezcWorkflowCondition $condition |
리턴 |
ezcWorkflowCondition |
|