Méthode | Description | |
---|---|---|
delete ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword, Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : boolean | Removes keyword from given category. | |
save ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword, Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category, string $force = null ) : Keyword | Add given keyword to the category. |
public delete ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword, Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category ) : boolean | ||
$keyword | Sulu\Bundle\CategoryBundle\Entity\KeywordInterface | |
$category | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface | |
Résultat | boolean | true if keyword is deleted completely from the database otherwise only from the category |
public save ( Sulu\Bundle\CategoryBundle\Entity\KeywordInterface $keyword, Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category, string $force = null ) : Keyword | ||
$keyword | Sulu\Bundle\CategoryBundle\Entity\KeywordInterface | |
$category | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface | |
$force | string | |
Résultat | Keyword |