PHP Class Sulu\Bundle\ResourceBundle\Entity\OperatorValue

Afficher le fichier Open project: sulu/sulu Class Usage Examples

Méthodes publiques

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

Constructor.
public __construct ( )

addTranslation() public méthode

Add translations.
public addTranslation ( OperatorValueTranslation $translations ) : OperatorValue
$translations OperatorValueTranslation
Résultat OperatorValue

getId() public méthode

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

getOperator() public méthode

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

getTranslations() public méthode

Get translations.
public getTranslations ( ) : Doctrine\Common\Collections\Collection
Résultat Doctrine\Common\Collections\Collection

getValue() public méthode

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

removeTranslation() public méthode

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

setOperator() public méthode

Set operator.
public setOperator ( Operator $operator ) : OperatorValue
$operator Operator
Résultat OperatorValue

setValue() public méthode

Set value.
public setValue ( string $value ) : OperatorValue
$value string
Résultat OperatorValue