메소드 | 설명 | |
---|---|---|
appendCategoryToUrl ( array | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category, string $categoriesParameter = 'categories' ) : string | Extends current URL with given category. | |
getCategories ( string $categoriesParameter = 'categories' ) : string[] | Determine categories from current request. | |
removeCategoriesFromUrl ( string $categoriesParameter = 'categories' ) : string | Remove category from current URL. | |
setCategoryToUrl ( array | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category, string $categoriesParameter = 'categories' ) : string | Set category to current URL. |
public appendCategoryToUrl ( array | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category, string $categoriesParameter = 'categories' ) : string | ||
$category | array | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface | will be included in the URL |
$categoriesParameter | string | GET parameter name |
리턴 | string |
public getCategories ( string $categoriesParameter = 'categories' ) : string[] | ||
$categoriesParameter | string | |
리턴 | string[] |
public removeCategoriesFromUrl ( string $categoriesParameter = 'categories' ) : string | ||
$categoriesParameter | string | GET parameter name |
리턴 | string |
public setCategoryToUrl ( array | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface $category, string $categoriesParameter = 'categories' ) : string | ||
$category | array | Sulu\Bundle\CategoryBundle\Entity\CategoryInterface | will be included in the URL |
$categoriesParameter | string | GET parameter name |
리턴 | string |