Method | 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 ( ) : |
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 ( |
Set images. | |
setTranslation ( string $translation ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface | Set translation. |
public addKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword ) : Sulu\Bundle\CategoryBundle\Entity\CategoryInterface | ||
$keyword | Sulu\Bundle\CategoryBundle\Entity\KeywordInterface | |
return | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface |
public getCategory ( ) : Sulu\Bundle\CategoryBundle\Entity\CategoryInterface | ||
return | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface |
public getKeywords ( ) : Doctrine\Common\Collections\Collection | ||
return | Doctrine\Common\Collections\Collection |
public getMedias ( ) : |
||
return |
public hasKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword ) : boolean | ||
$keyword | Sulu\Bundle\CategoryBundle\Entity\KeywordInterface | |
return | boolean |
public removeKeyword ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword ) | ||
$keyword | Sulu\Bundle\CategoryBundle\Entity\KeywordInterface |
public setCategory ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface | ||
$category | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface | |
return | Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface |
public setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer ) | ||
$changer | Sulu\Component\Security\Authentication\UserInterface |
public setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator ) | ||
$creator | Sulu\Component\Security\Authentication\UserInterface |
public setDescription ( $description ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface | ||
$description | ||
return | Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface |
public setMedias ( |
||
$images | ||
return | Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface |
public setTranslation ( string $translation ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface | ||
$translation | string | |
return | Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface |