PHP Interface Sulu\Bundle\CategoryBundle\Entity\KeywordInterface

Inheritance: extends Sulu\Component\Persistence\Model\AuditableInterface
Datei anzeigen Open project: sulu/sulu Interface Usage Examples

Public Methods

Method Description
addCategoryTranslation ( Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface $categoryTranslation ) : Sulu\Bundle\CategoryBundle\Entity\KeywordInterface Add category-translation.
equals ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword ) : boolean
getCategoryTranslationCount ( ) : integer
getCategoryTranslations ( ) : Doctrine\Common\Collections\Collection Get categories.
getId ( ) : integer Get id.
getKeyword ( ) : string Get keyword.
getLocale ( ) : string Get locale.
isReferenced ( ) : boolean
isReferencedMultiple ( ) : boolean
removeCategoryTranslation ( Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface $categoryTranslation ) Remove category-translation.
setChanged ( DateTime $changed )
setChanger ( Sulu\Component\Security\Authentication\UserInterface $changer )
setCreated ( DateTime $created )
setCreator ( Sulu\Component\Security\Authentication\UserInterface $creator )
setKeyword ( string $keyword ) : Sulu\Bundle\CategoryBundle\Entity\KeywordInterface Set keyword.
setLocale ( string $locale ) : Sulu\Bundle\CategoryBundle\Entity\KeywordInterface Set locale.

Method Details

addCategoryTranslation() public method

Add category-translation.
public addCategoryTranslation ( Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface $categoryTranslation ) : Sulu\Bundle\CategoryBundle\Entity\KeywordInterface
$categoryTranslation Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface
return Sulu\Bundle\CategoryBundle\Entity\KeywordInterface

equals() public method

public equals ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword ) : boolean
$keyword Sulu\Bundle\CategoryBundle\Entity\KeywordInterface
return boolean

getCategoryTranslationCount() public method

getCategoryTranslations() public method

Get categories.
public getCategoryTranslations ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getId() public method

Get id.
public getId ( ) : integer
return integer

getKeyword() public method

Get keyword.
public getKeyword ( ) : string
return string

getLocale() public method

Get locale.
public getLocale ( ) : string
return string

isReferenced() public method

public isReferenced ( ) : boolean
return boolean

isReferencedMultiple() public method

public isReferencedMultiple ( ) : boolean
return boolean

removeCategoryTranslation() public method

Remove category-translation.
public removeCategoryTranslation ( Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface $categoryTranslation )
$categoryTranslation Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface

setChanged() public method

public setChanged ( DateTime $changed )
$changed DateTime

setChanger() public method

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

setCreated() public method

public setCreated ( DateTime $created )
$created DateTime

setCreator() public method

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

setKeyword() public method

Set keyword.
public setKeyword ( string $keyword ) : Sulu\Bundle\CategoryBundle\Entity\KeywordInterface
$keyword string
return Sulu\Bundle\CategoryBundle\Entity\KeywordInterface

setLocale() public method

Set locale.
public setLocale ( string $locale ) : Sulu\Bundle\CategoryBundle\Entity\KeywordInterface
$locale string
return Sulu\Bundle\CategoryBundle\Entity\KeywordInterface