PHP Класс BookStack\Http\Controllers\TagController

Наследование: extends Controller
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$tagRepo

Открытые методы

Метод Описание
__construct ( TagRepo $tagRepo ) TagController constructor.
getForEntity ( $entityType, $entityId ) Get all the Tags for a particular entity
getNameSuggestions ( Illuminate\Http\Request $request ) Get tag name suggestions from a given search term.
getValueSuggestions ( Illuminate\Http\Request $request ) Get tag value suggestions from a given search term.
updateForEntity ( $entityType, $entityId, Illuminate\Http\Request $request ) : mixed Update the tags for a particular entity.

Описание методов

__construct() публичный Метод

TagController constructor.
public __construct ( TagRepo $tagRepo )
$tagRepo BookStack\Repos\TagRepo

getForEntity() публичный Метод

Get all the Tags for a particular entity
public getForEntity ( $entityType, $entityId )
$entityType
$entityId

getNameSuggestions() публичный Метод

Get tag name suggestions from a given search term.
public getNameSuggestions ( Illuminate\Http\Request $request )
$request Illuminate\Http\Request

getValueSuggestions() публичный Метод

Get tag value suggestions from a given search term.
public getValueSuggestions ( Illuminate\Http\Request $request )
$request Illuminate\Http\Request

updateForEntity() публичный Метод

Update the tags for a particular entity.
public updateForEntity ( $entityType, $entityId, Illuminate\Http\Request $request ) : mixed
$entityType
$entityId
$request Illuminate\Http\Request
Результат mixed

Описание свойств

$tagRepo защищенное свойство

protected $tagRepo