PHP Class Sulu\Bundle\ResourceBundle\Api\Condition

Inheritance: extends Sulu\Component\Rest\ApiWrapper
Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( Condition $entity, string $locale )
getConditionGroup ( ) : ConditionGroup Get conditionGroup.
getField ( ) : string Get field.
getId ( ) : integer Get id.
getOperator ( ) : string Get operator.
getType ( ) : integer Get type.
getValue ( ) : mixed Get value.
setConditionGroup ( ConditionGroup $conditionGroup ) Set conditionGroup.
setField ( string $field ) Set field.
setOperator ( string $operator ) Set operator.
setType ( integer $type ) Set type.
setValue ( string $value ) Set value.

Method Details

__construct() public method

public __construct ( Condition $entity, string $locale )
$entity Sulu\Bundle\ResourceBundle\Entity\Condition
$locale string

getConditionGroup() public method

Get conditionGroup.
public getConditionGroup ( ) : ConditionGroup
return ConditionGroup

getField() public method

Get field.
public getField ( ) : string
return string

getId() public method

Get id.
public getId ( ) : integer
return integer

getOperator() public method

Get operator.
public getOperator ( ) : string
return string

getType() public method

Get type.
public getType ( ) : integer
return integer

getValue() public method

Get value.
public getValue ( ) : mixed
return mixed

setConditionGroup() public method

Set conditionGroup.
public setConditionGroup ( ConditionGroup $conditionGroup )
$conditionGroup ConditionGroup

setField() public method

Set field.
public setField ( string $field )
$field string

setOperator() public method

Set operator.
public setOperator ( string $operator )
$operator string

setType() public method

Set type.
public setType ( integer $type )
$type integer

setValue() public method

Set value.
public setValue ( string $value )
$value string