PHP Class Sulu\Bundle\ResourceBundle\Entity\Operator

Mostrar archivo Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
addTranslation ( OperatorTranslation $translations ) : Operator Add translations.
addValue ( OperatorValue $values ) : Operator Add values.
getId ( ) : integer Get id.
getInputType ( ) : string Get inputType.
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 $values ) Remove values.
setId ( $id ) Set id.
setInputType ( string $inputType ) : Operator Set inputType.
setOperator ( string $operator ) : Operator Set operator.
setType ( integer $type ) : Operator Set type.

Method Details

__construct() public method

Constructor.
public __construct ( )

addTranslation() public method

Add translations.
public addTranslation ( OperatorTranslation $translations ) : Operator
$translations OperatorTranslation
return Operator

addValue() public method

Add values.
public addValue ( OperatorValue $values ) : Operator
$values OperatorValue
return Operator

getId() public method

Get id.
public getId ( ) : integer
return integer

getInputType() public method

Get inputType.
public getInputType ( ) : string
return string

getOperator() public method

Get operator.
public getOperator ( ) : string
return string

getTranslations() public method

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

getType() public method

Get type.
public getType ( ) : integer
return integer

getValues() public method

Get values.
public getValues ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

removeTranslation() public method

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

removeValue() public method

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

setId() public method

Set id.
public setId ( $id )
$id integer

setInputType() public method

Set inputType.
public setInputType ( string $inputType ) : Operator
$inputType string
return Operator

setOperator() public method

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

setType() public method

Set type.
public setType ( integer $type ) : Operator
$type integer
return Operator