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

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

공개 메소드들

메소드 설명
__construct ( Filter $entity, string $locale )
addConditionGroup ( ConditionGroup $conditionGroup ) : Filter Add conditionGroups.
addTranslation ( FilterTranslation $translation ) Add translations.
getChanged ( ) : DateTime Sets the change time of the filter.
getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface Sets the changer of the filter.
getConditionGroups ( ) : null | ConditionGroup[] Get conditionGroups.
getConjunction ( ) : boolean Get conjunction.
getContext ( ) : string Get entity.
getCreated ( ) : DateTime Sets the created time of the filter.
getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface Returns the creator of the filter.
getId ( ) : integer Get id.
getName ( ) : string Returns the name of the filter.
getPrivate ( ) : boolean Get private flag.
getUser ( ) : Sulu\Component\Security\Authentication\UserInterface Get user.
removeConditionGroup ( ConditionGroup $conditionGroup ) Remove conditionGroup.
removeTranslation ( FilterTranslation $translations ) : boolean Remove translations.
setChanged ( DateTime $changed ) Sets the change time of the filter.
setChanger ( Sulu\Component\Security\Authentication\UserInterface $user ) Sets the changer of the filter.
setConjunction ( boolean $conjunction ) Set conjunction.
setContext ( $name ) Set context.
setCreated ( DateTime $created ) Sets the created time of the filter.
setCreator ( Sulu\Component\Security\Authentication\UserInterface $user ) Sets the creator of the filter.
setName ( string $name ) Sets the name of the filter.
setPrivate ( $private ) : Filter Sets the private flag.
setUser ( Sulu\Component\Security\Authentication\UserInterface $user = null ) : Filter Set user.

비공개 메소드들

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

메소드 상세

__construct() 공개 메소드

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

addConditionGroup() 공개 메소드

Add conditionGroups.
public addConditionGroup ( ConditionGroup $conditionGroup ) : Filter
$conditionGroup ConditionGroup
리턴 Filter

addTranslation() 공개 메소드

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

getChanged() 공개 메소드

Sets the change time of the filter.
public getChanged ( ) : DateTime
리턴 DateTime

getChanger() 공개 메소드

Sets the changer of the filter.
public getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface
리턴 Sulu\Component\Security\Authentication\UserInterface creator/owner filter

getConditionGroups() 공개 메소드

Get conditionGroups.
public getConditionGroups ( ) : null | ConditionGroup[]
리턴 null | ConditionGroup[]

getConjunction() 공개 메소드

Get conjunction.
public getConjunction ( ) : boolean
리턴 boolean

getContext() 공개 메소드

Get entity.
public getContext ( ) : string
리턴 string

getCreated() 공개 메소드

Sets the created time of the filter.
public getCreated ( ) : DateTime
리턴 DateTime

getCreator() 공개 메소드

Returns the creator of the filter.
public getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface
리턴 Sulu\Component\Security\Authentication\UserInterface creator/owner of the filter

getId() 공개 메소드

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

getName() 공개 메소드

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

getPrivate() 공개 메소드

Get private flag.
public getPrivate ( ) : boolean
리턴 boolean

getUser() 공개 메소드

Get user.
public getUser ( ) : Sulu\Component\Security\Authentication\UserInterface
리턴 Sulu\Component\Security\Authentication\UserInterface

removeConditionGroup() 공개 메소드

Remove conditionGroup.
public removeConditionGroup ( ConditionGroup $conditionGroup )
$conditionGroup ConditionGroup

removeTranslation() 공개 메소드

Remove translations.
public removeTranslation ( FilterTranslation $translations ) : boolean
$translations Sulu\Bundle\ResourceBundle\Entity\FilterTranslation
리턴 boolean

setChanged() 공개 메소드

Sets the change time of the filter.
public setChanged ( DateTime $changed )
$changed DateTime

setChanger() 공개 메소드

Sets the changer of the filter.
public setChanger ( Sulu\Component\Security\Authentication\UserInterface $user )
$user Sulu\Component\Security\Authentication\UserInterface The changer of the filter

setConjunction() 공개 메소드

Set conjunction.
public setConjunction ( boolean $conjunction )
$conjunction boolean

setContext() 공개 메소드

Set context.
public setContext ( $name )
$name

setCreated() 공개 메소드

Sets the created time of the filter.
public setCreated ( DateTime $created )
$created DateTime

setCreator() 공개 메소드

Sets the creator of the filter.
public setCreator ( Sulu\Component\Security\Authentication\UserInterface $user )
$user Sulu\Component\Security\Authentication\UserInterface The creator of the filter

setName() 공개 메소드

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

setPrivate() 공개 메소드

Sets the private flag.
public setPrivate ( $private ) : Filter
$private boolean
리턴 Sulu\Bundle\ResourceBundle\Entity\Filter

setUser() 공개 메소드

Set user.
public setUser ( Sulu\Component\Security\Authentication\UserInterface $user = null ) : Filter
$user Sulu\Component\Security\Authentication\UserInterface
리턴 Filter