PHP 클래스 Sulu\Bundle\ResourceBundle\Api\OperatorValue

상속: extends Sulu\Component\Rest\ApiWrapper
파일 보기 프로젝트 열기: sulu/sulu 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( OperatorValue $entity, string $locale )
addTranslation ( OperatorValueTranslation $translations ) Add translations.
getId ( ) : integer Get id.
getName ( ) : string Returns the name of the operator value.
getOperator ( ) : Operator Get operator.
getTranslations ( ) : Doctrine\Common\Collections\Collection Get translations.
getValue ( ) : string Get value.
removeTranslation ( OperatorValueTranslation $translations ) Remove translations.
setName ( string $name ) Sets the name of the operator value.
setOperator ( Operator $operator ) Set operator.
setValue ( string $value ) : OperatorValue Set value.

비공개 메소드들

메소드 설명
getTranslation ( ) : OperatorValueTranslation Get translation by locale.

메소드 상세

__construct() 공개 메소드

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

addTranslation() 공개 메소드

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

getId() 공개 메소드

Get id.
public getId ( ) : integer
리턴 integer

getName() 공개 메소드

Returns the name of the operator value.
public getName ( ) : string
리턴 string The name of the operator

getOperator() 공개 메소드

Get operator.
public getOperator ( ) : Operator
리턴 Sulu\Bundle\ResourceBundle\Entity\Operator

getTranslations() 공개 메소드

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

getValue() 공개 메소드

Get value.
public getValue ( ) : string
리턴 string

removeTranslation() 공개 메소드

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

setName() 공개 메소드

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

setOperator() 공개 메소드

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

setValue() 공개 메소드

Set value.
public setValue ( string $value ) : OperatorValue
$value string
리턴 OperatorValue