PHP Class Sulu\Bundle\ResourceBundle\Entity\OperatorValue

Mostra file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
addTranslation ( OperatorValueTranslation $translations ) : OperatorValue Add translations.
getId ( ) : integer Get id.
getOperator ( ) : Operator Get operator.
getTranslations ( ) : Doctrine\Common\Collections\Collection Get translations.
getValue ( ) : string Get value.
removeTranslation ( OperatorValueTranslation $translations ) Remove translations.
setOperator ( Operator $operator ) : OperatorValue Set operator.
setValue ( string $value ) : OperatorValue Set value.

Method Details

__construct() public method

Constructor.
public __construct ( )

addTranslation() public method

Add translations.
public addTranslation ( OperatorValueTranslation $translations ) : OperatorValue
$translations OperatorValueTranslation
return OperatorValue

getId() public method

Get id.
public getId ( ) : integer
return integer

getOperator() public method

Get operator.
public getOperator ( ) : Operator
return Operator

getTranslations() public method

Get translations.
public getTranslations ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getValue() public method

Get value.
public getValue ( ) : string
return string

removeTranslation() public method

Remove translations.
public removeTranslation ( OperatorValueTranslation $translations )
$translations OperatorValueTranslation

setOperator() public method

Set operator.
public setOperator ( Operator $operator ) : OperatorValue
$operator Operator
return OperatorValue

setValue() public method

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