PHP Interface Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface

Inheritance: extends Sulu\Component\Persistence\Model\AuditableInterface
Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
addKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword ) : Sulu\Bundle\CategoryBundle\Entity\CategoryInterface Add keyword.
getCategory ( ) : Sulu\Bundle\CategoryBundle\Entity\CategoryInterface Get category.
getDescription ( ) : string Get description.
getId ( ) : integer Get id.
getKeywords ( ) : Doctrine\Common\Collections\Collection Get keywords.
getLocale ( ) : string Get locale.
getMedias ( ) : Media[] Get description.
getTranslation ( ) : string Get translation.
hasKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword ) : boolean Returns true if given keyword already linked with the category.
removeKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword ) Remove keyword.
setCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface Set category.
setChanged ( DateTime $changed )
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer )
setCreated ( DateTime $created )
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator )
setDescription ( $description ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface Set description.
setLocale ( string $locale ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface Set locale.
setMedias ( Media[] $images ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface Set images.
setTranslation ( string $translation ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface Set translation.

Method Details

addKeyword() public méthode

Add keyword.
public addKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword ) : Sulu\Bundle\CategoryBundle\Entity\CategoryInterface
$keyword Sulu\Bundle\CategoryBundle\Entity\KeywordInterface
Résultat Sulu\Bundle\CategoryBundle\Entity\CategoryInterface

getCategory() public méthode

Get category.
public getCategory ( ) : Sulu\Bundle\CategoryBundle\Entity\CategoryInterface
Résultat Sulu\Bundle\CategoryBundle\Entity\CategoryInterface

getDescription() public méthode

Get description.
public getDescription ( ) : string
Résultat string

getId() public méthode

Get id.
public getId ( ) : integer
Résultat integer

getKeywords() public méthode

Get keywords.
public getKeywords ( ) : Doctrine\Common\Collections\Collection
Résultat Doctrine\Common\Collections\Collection

getLocale() public méthode

Get locale.
public getLocale ( ) : string
Résultat string

getMedias() public méthode

Get description.
public getMedias ( ) : Media[]
Résultat Sulu\Bundle\MediaBundle\Entity\Media[]

getTranslation() public méthode

Get translation.
public getTranslation ( ) : string
Résultat string

hasKeyword() public méthode

Returns true if given keyword already linked with the category.
public hasKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword ) : boolean
$keyword Sulu\Bundle\CategoryBundle\Entity\KeywordInterface
Résultat boolean

removeKeyword() public méthode

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

setCategory() public méthode

Set category.
public setCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface
$category Sulu\Bundle\CategoryBundle\Entity\CategoryInterface
Résultat Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface

setChanged() public méthode

public setChanged ( DateTime $changed )
$changed DateTime

setChanger() public méthode

public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer )
$changer Sulu\Component\Security\Authentication\UserInterface

setCreated() public méthode

public setCreated ( DateTime $created )
$created DateTime

setCreator() public méthode

public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator )
$creator Sulu\Component\Security\Authentication\UserInterface

setDescription() public méthode

Set description.
public setDescription ( $description ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface
$description
Résultat Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface

setLocale() public méthode

Set locale.
public setLocale ( string $locale ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface
$locale string
Résultat Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface

setMedias() public méthode

Set images.
public setMedias ( Media[] $images ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface
$images Sulu\Bundle\MediaBundle\Entity\Media[]
Résultat Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface

setTranslation() public méthode

Set translation.
public setTranslation ( string $translation ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface
$translation string
Résultat Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface