PHP Class Sulu\Bundle\ResourceBundle\Entity\Condition

Show file Open project: sulu/sulu Class Usage Examples

Public Methods

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

Method Details

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 ( ) : string
return string

setConditionGroup() public method

Set conditionGroup.
public setConditionGroup ( ConditionGroup $conditionGroup ) : Condition
$conditionGroup ConditionGroup
return Condition

setField() public method

Set field.
public setField ( string $field ) : Condition
$field string
return Condition

setOperator() public method

Set operator.
public setOperator ( string $operator ) : Condition
$operator string
return Condition

setType() public method

Set type.
public setType ( integer $type ) : Condition
$type integer
return Condition

setValue() public method

Set value.
public setValue ( string $value ) : Condition
$value string
return Condition