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

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

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

Метод Описание
__construct ( Operator $entity, string $locale )
addTranslation ( OperatorTranslation $translations ) Add translations.
addValue ( OperatorValue $value ) Add values.
getId ( ) : integer Get id.
getInputType ( ) : string Get inputType.
getName ( ) : string Returns the name of the operator.
getOperator ( ) : string Get operator.
getTranslations ( ) : Doctrine\Common\Collections\Collection Get translations.
getType ( ) : integer Get type.
getValues ( ) : Doctrine\Common\Collections\Collection Get values.
removeTranslation ( OperatorTranslation $translations ) Remove translations.
removeValue ( OperatorValue $value ) Remove values.
setInputType ( integer $inputType ) Set inputType.
setName ( string $name ) Sets the name of the operator.
setOperator ( string $operator ) Set operator.
setType ( string $type ) Set type.

Приватные методы

Метод Описание
getTranslation ( ) : OperatorTranslation Get translation by locale.

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

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

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

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

Add translations.
public addTranslation ( OperatorTranslation $translations )
$translations Sulu\Bundle\ResourceBundle\Entity\OperatorTranslation

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

Add values.
public addValue ( OperatorValue $value )
$value OperatorValue

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

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

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

Get inputType.
public getInputType ( ) : string
Результат string

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

Returns the name of the operator.
public getName ( ) : string
Результат string The name of the operator

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

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

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

Get translations.
public getTranslations ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

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

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

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

Get values.
public getValues ( ) : Doctrine\Common\Collections\Collection
Результат Doctrine\Common\Collections\Collection

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

Remove translations.
public removeTranslation ( OperatorTranslation $translations )
$translations Sulu\Bundle\ResourceBundle\Entity\OperatorTranslation

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

Remove values.
public removeValue ( OperatorValue $value )
$value OperatorValue

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

Set inputType.
public setInputType ( integer $inputType )
$inputType integer

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

Sets the name of the operator.
public setName ( string $name )
$name string The name of the operator

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

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

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

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