PHP Class Sulu\Bundle\ResourceBundle\Api\Condition

Inheritance: extends Sulu\Component\Rest\ApiWrapper
Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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

getConditionGroup() public méthode

Get conditionGroup.
public getConditionGroup ( ) : ConditionGroup
Résultat ConditionGroup

getField() public méthode

Get field.
public getField ( ) : string
Résultat string

getId() public méthode

Get id.
public getId ( ) : integer
Résultat integer

getOperator() public méthode

Get operator.
public getOperator ( ) : string
Résultat string

getType() public méthode

Get type.
public getType ( ) : integer
Résultat integer

getValue() public méthode

Get value.
public getValue ( ) : mixed
Résultat mixed

setConditionGroup() public méthode

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

setField() public méthode

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

setOperator() public méthode

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

setType() public méthode

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

setValue() public méthode

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