class OrderState extends AbstractCondition

Class OrderState

Constants

TRANSITION_TO

TRANSITION_FROM

TRANSITION_ALL

Properties

static string $elementType from AbstractCondition
static string $type
array $states
int $transitionType

Methods

setValues( array $values)

No description

string
__toString()

No description

static  string
getElementType()

No description

static  string
getType()

No description

mixed
checkCondition( AbstractModel $object, array $params = array(), Rule $rule)

No description

string
getCacheKey()

get cache key for Condition. Use this method to invalidate a condition

array
getStates()

No description

setStates( array $states)

No description

int
getTransitionType()

No description

setTransitionType( int $transitionType)

No description

Details

in AbstractActionCondition at line line 36
setValues( array $values)

Parameters

array $values

in AbstractActionCondition at line line 54
string __toString()

Return Value

string

in AbstractActionCondition at line line 62
static string getElementType()

Return Value

string

in AbstractActionCondition at line line 70
static string getType()

Return Value

string

at line line 64
mixed checkCondition( AbstractModel $object, array $params = array(), Rule $rule)

Parameters

AbstractModel $object
array $params
Rule $rule

Return Value

mixed

in AbstractCondition at line line 42
string getCacheKey()

get cache key for Condition. Use this method to invalidate a condition

Return Value

string

at line line 104
array getStates()

Return Value

array

at line line 112
setStates( array $states)

Parameters

array $states

at line line 120
int getTransitionType()

Return Value

int

at line line 128
setTransitionType( int $transitionType)

Parameters

int $transitionType