PHP Class BookStack\Http\Controllers\TagController

Inheritance: extends Controller
Afficher le fichier Open project: ssddanbrown/bookstack

Protected Properties

Свойство Type Description
$tagRepo

Méthodes publiques

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

Method Details

__construct() public méthode

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

getForEntity() public méthode

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

getNameSuggestions() public méthode

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

getValueSuggestions() public méthode

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

updateForEntity() public méthode

Update the tags for a particular entity.
public updateForEntity ( $entityType, $entityId, Illuminate\Http\Request $request ) : mixed
$entityType
$entityId
$request Illuminate\Http\Request
Résultat mixed

Property Details

$tagRepo protected_oe property

protected $tagRepo