PHP 인터페이스 Sulu\Component\Tag\Request\TagRequestHandlerInterface

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

공개 메소드들

메소드 설명
appendTagToUrl ( array $tag, string $tagsParameter = 'tags' ) : string Extends current URL with given tag.
getTags ( string $tagsParameter = 'tags' ) : string[] Determine tags from current request.
removeTagsFromUrl ( string $tagsParameter = 'tags' ) : string Remove tag from current URL.
setTagToUrl ( array $tag, string $tagsParameter = 'tags' ) : string Set tag to current URL.

메소드 상세

appendTagToUrl() 공개 메소드

Extends current URL with given tag.
public appendTagToUrl ( array $tag, string $tagsParameter = 'tags' ) : string
$tag array will be included in the URL
$tagsParameter string GET parameter name
리턴 string

getTags() 공개 메소드

Determine tags from current request.
public getTags ( string $tagsParameter = 'tags' ) : string[]
$tagsParameter string
리턴 string[]

removeTagsFromUrl() 공개 메소드

Remove tag from current URL.
public removeTagsFromUrl ( string $tagsParameter = 'tags' ) : string
$tagsParameter string GET parameter name
리턴 string

setTagToUrl() 공개 메소드

Set tag to current URL.
public setTagToUrl ( array $tag, string $tagsParameter = 'tags' ) : string
$tag array will be included in the URL
$tagsParameter string GET parameter name
리턴 string