PHP Interface Sulu\Component\Tag\Request\TagRequestHandlerInterface

Afficher le fichier Open project: sulu/sulu Interface Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

appendTagToUrl() public méthode

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
Résultat string

getTags() public méthode

Determine tags from current request.
public getTags ( string $tagsParameter = 'tags' ) : string[]
$tagsParameter string
Résultat string[]

removeTagsFromUrl() public méthode

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

setTagToUrl() public méthode

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
Résultat string