Documentation

GetAllTagNames

Use case for retrieving all tag names (for caching and autocomplete).

Tags
since
3.0.0

Table of Contents

Properties

$termRepository  : TagRepositoryInterface
$textRepository  : TagRepositoryInterface

Methods

__construct()  : mixed
Constructor.
getTermTags()  : array<string|int, string>
Get all term tag names.
getTextTags()  : array<string|int, string>
Get all text tag names.
refreshTermTags()  : array<string|int, string>
Refresh term tag cache.
refreshTextTags()  : array<string|int, string>
Refresh text tag cache.
getUrlBase()  : string
Get URL base for cache invalidation.

Properties

Methods

getTermTags()

Get all term tag names.

public getTermTags([bool $refresh = false ]) : array<string|int, string>
Parameters
$refresh : bool = false

Force refresh from database

Return values
array<string|int, string>

getTextTags()

Get all text tag names.

public getTextTags([bool $refresh = false ]) : array<string|int, string>
Parameters
$refresh : bool = false

Force refresh from database

Return values
array<string|int, string>

refreshTermTags()

Refresh term tag cache.

public refreshTermTags() : array<string|int, string>
Return values
array<string|int, string>

refreshTextTags()

Refresh text tag cache.

public refreshTextTags() : array<string|int, string>
Return values
array<string|int, string>

getUrlBase()

Get URL base for cache invalidation.

private getUrlBase() : string
Return values
string

        
On this page

Search results