PHP Class Sulu\Bundle\CategoryBundle\Entity\CategoryTranslation

Show file Open project: sulu/sulu Class Usage Examples

Protected Properties

Property Type Description
$category Sulu\Bundle\CategoryBundle\Entity\CategoryInterface
$changed DateTime
$changer Sulu\Component\Security\Authentication\UserInterface
$created DateTime
$creator Sulu\Component\Security\Authentication\UserInterface
$description string
$id integer
$keywords Doctrine\Common\Collections\Collection
$locale string
$medias Sulu\Bundle\MediaBundle\Entity\Media[]
$translation string

Public Methods

Method Description
__construct ( )
addKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword )
getCategory ( )
getChanged ( )
getChanger ( )
getCreated ( )
getCreator ( )
getDescription ( )
getId ( )
getKeywords ( )
getLocale ( )
getMedias ( )
getTranslation ( )
hasKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword )
removeKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword )
setCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category )
setChanged ( $changed )
setChanger ( $changer )
setCreated ( $created )
setCreator ( $creator )
setDescription ( $description )
setLocale ( $locale )
setMedias ( $medias )
setTranslation ( $translation )

Method Details

__construct() public method

public __construct ( )

addKeyword() public method

public addKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword )
$keyword Sulu\Bundle\CategoryBundle\Entity\KeywordInterface

getCategory() public method

public getCategory ( )

getChanged() public method

public getChanged ( )

getChanger() public method

public getChanger ( )

getCreated() public method

public getCreated ( )

getCreator() public method

public getCreator ( )

getDescription() public method

public getDescription ( )

getId() public method

public getId ( )

getKeywords() public method

public getKeywords ( )

getLocale() public method

public getLocale ( )

getMedias() public method

public getMedias ( )

getTranslation() public method

public getTranslation ( )

hasKeyword() public method

public hasKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword )
$keyword Sulu\Bundle\CategoryBundle\Entity\KeywordInterface

removeKeyword() public method

public removeKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword )
$keyword Sulu\Bundle\CategoryBundle\Entity\KeywordInterface

setCategory() public method

public setCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category )
$category Sulu\Bundle\CategoryBundle\Entity\CategoryInterface

setChanged() public method

public setChanged ( $changed )

setChanger() public method

public setChanger ( $changer )

setCreated() public method

public setCreated ( $created )

setCreator() public method

public setCreator ( $creator )

setDescription() public method

public setDescription ( $description )

setLocale() public method

public setLocale ( $locale )

setMedias() public method

public setMedias ( $medias )

setTranslation() public method

public setTranslation ( $translation )

Property Details

$category protected property

protected CategoryInterface,Sulu\Bundle\CategoryBundle\Entity $category
return Sulu\Bundle\CategoryBundle\Entity\CategoryInterface

$changed protected property

protected DateTime $changed
return DateTime

$changer protected property

protected UserInterface,Sulu\Component\Security\Authentication $changer
return Sulu\Component\Security\Authentication\UserInterface

$created protected property

protected DateTime $created
return DateTime

$creator protected property

protected UserInterface,Sulu\Component\Security\Authentication $creator
return Sulu\Component\Security\Authentication\UserInterface

$description protected property

protected string $description
return string

$id protected property

protected int $id
return integer

$keywords protected property

protected Collection,Doctrine\Common\Collections $keywords
return Doctrine\Common\Collections\Collection

$locale protected property

protected string $locale
return string

$medias protected property

protected Media[],Sulu\Bundle\MediaBundle\Entity $medias
return Sulu\Bundle\MediaBundle\Entity\Media[]

$translation protected property

protected string $translation
return string