PHP Класс Sulu\Bundle\ResourceBundle\Api\Condition

Наследование: extends Sulu\Component\Rest\ApiWrapper
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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

getConditionGroup() публичный Метод

Get conditionGroup.
public getConditionGroup ( ) : ConditionGroup
Результат ConditionGroup

getField() публичный Метод

Get field.
public getField ( ) : string
Результат string

getId() публичный Метод

Get id.
public getId ( ) : integer
Результат integer

getOperator() публичный Метод

Get operator.
public getOperator ( ) : string
Результат string

getType() публичный Метод

Get type.
public getType ( ) : integer
Результат integer

getValue() публичный Метод

Get value.
public getValue ( ) : mixed
Результат mixed

setConditionGroup() публичный Метод

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

setField() публичный Метод

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

setOperator() публичный Метод

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

setType() публичный Метод

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

setValue() публичный Метод

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