Method | Description | |
---|---|---|
__construct ( Sulu\Bundle\CategoryBundle\Entity\KeywordRepositoryInterface $keywordRepository, Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationRepositoryInterface $categoryTranslationRepository, Doctrine\ORM\EntityManagerInterface $entityManager ) | ||
delete ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword, Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) | ||
save ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword, Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category, $force = null ) |
Method | Description | |
---|---|---|
createTranslation ( Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category, $locale ) : Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationInterface | Creates a new category translation for a given category and locale. | |
findSynonym ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword ) : Keyword | null | Find the same keyword in the database or returns null if no synonym exists. | |
handleDetach ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword, Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : Keyword | Detach given and create new keyword entity. | |
handleOverwrite ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword, Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : Keyword | Overwrites given keyword. |
public __construct ( Sulu\Bundle\CategoryBundle\Entity\KeywordRepositoryInterface $keywordRepository, Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationRepositoryInterface $categoryTranslationRepository, Doctrine\ORM\EntityManagerInterface $entityManager ) | ||
$keywordRepository | Sulu\Bundle\CategoryBundle\Entity\KeywordRepositoryInterface | |
$categoryTranslationRepository | Sulu\Bundle\CategoryBundle\Entity\CategoryTranslationRepositoryInterface | |
$entityManager | Doctrine\ORM\EntityManagerInterface |
public delete ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword, Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) | ||
$keyword | Sulu\Bundle\CategoryBundle\Entity\KeywordInterface | |
$category | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface |
public save ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword, Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category, $force = null ) | ||
$keyword | Sulu\Bundle\CategoryBundle\Entity\KeywordInterface | |
$category | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface |