PHP Class Sulu\Bundle\ResourceBundle\Entity\Filter

Show file Open project: sulu/sulu Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
addConditionGroup ( ConditionGroup $conditionGroups ) : Filter Add conditionGroups.
addTranslation ( FilterTranslation $translations ) : Filter Add translations.
getChanged ( ) : DateTime Get changed.
getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface Get changer.
getConditionGroups ( ) : Doctrine\Common\Collections\Collection Get conditionGroups.
getConjunction ( ) : string Get conjunction.
getContext ( ) : string Get context.
getCreated ( ) : DateTime Get created.
getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface Get creator.
getId ( ) : integer Get id.
getPrivate ( ) : boolean Get private.
getTranslations ( ) : Doctrine\Common\Collections\Collection Get translations.
getUser ( ) : Sulu\Component\Security\Authentication\UserInterface Get user.
removeConditionGroup ( ConditionGroup $conditionGroups ) Remove conditionGroups.
removeTranslation ( FilterTranslation $translations ) Remove translations.
setChanged ( DateTime $changed ) : Filter Set changed.
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : Filter Set changer.
setConjunction ( string $conjunction ) : Filter Set conjunction.
setContext ( string $context ) : Filter Set context.
setCreated ( DateTime $created ) : Filter Set created.
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : Filter Set creator.
setPrivate ( boolean $private ) : Filter Set private.
setUser ( Sulu\Component\Security\Authentication\UserInterface $user = null ) : Filter Set user.

Method Details

__construct() public method

Constructor.
public __construct ( )

addConditionGroup() public method

Add conditionGroups.
public addConditionGroup ( ConditionGroup $conditionGroups ) : Filter
$conditionGroups ConditionGroup
return Filter

addTranslation() public method

Add translations.
public addTranslation ( FilterTranslation $translations ) : Filter
$translations FilterTranslation
return Filter

getChanged() public method

Get changed.
public getChanged ( ) : DateTime
return DateTime

getChanger() public method

Get changer.
public getChanger ( ) : Sulu\Component\Security\Authentication\UserInterface
return Sulu\Component\Security\Authentication\UserInterface

getConditionGroups() public method

Get conditionGroups.
public getConditionGroups ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getConjunction() public method

Get conjunction.
public getConjunction ( ) : string
return string

getContext() public method

Get context.
public getContext ( ) : string
return string

getCreated() public method

Get created.
public getCreated ( ) : DateTime
return DateTime

getCreator() public method

Get creator.
public getCreator ( ) : Sulu\Component\Security\Authentication\UserInterface
return Sulu\Component\Security\Authentication\UserInterface

getId() public method

Get id.
public getId ( ) : integer
return integer

getPrivate() public method

Get private.
public getPrivate ( ) : boolean
return boolean

getTranslations() public method

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

getUser() public method

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

removeConditionGroup() public method

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

removeTranslation() public method

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

setChanged() public method

Set changed.
public setChanged ( DateTime $changed ) : Filter
$changed DateTime
return Filter

setChanger() public method

Set changer.
public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer = null ) : Filter
$changer Sulu\Component\Security\Authentication\UserInterface
return Filter

setConjunction() public method

Set conjunction.
public setConjunction ( string $conjunction ) : Filter
$conjunction string
return Filter

setContext() public method

Set context.
public setContext ( string $context ) : Filter
$context string
return Filter

setCreated() public method

Set created.
public setCreated ( DateTime $created ) : Filter
$created DateTime
return Filter

setCreator() public method

Set creator.
public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator = null ) : Filter
$creator Sulu\Component\Security\Authentication\UserInterface
return Filter

setPrivate() public method

Set private.
public setPrivate ( boolean $private ) : Filter
$private boolean
return Filter

setUser() public method

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