PHP 인터페이스 Sulu\Component\Category\Request\CategoryRequestHandlerInterface

파일 보기 프로젝트 열기: sulu/sulu 0 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

appendCategoryToUrl() 공개 메소드

Extends current URL with given category.
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

getCategories() 공개 메소드

Determine categories from current request.
public getCategories ( string $categoriesParameter = 'categories' ) : string[]
$categoriesParameter string
리턴 string[]

removeCategoriesFromUrl() 공개 메소드

Remove category from current URL.
public removeCategoriesFromUrl ( string $categoriesParameter = 'categories' ) : string
$categoriesParameter string GET parameter name
리턴 string

setCategoryToUrl() 공개 메소드

Set category to current URL.
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