Documentation

TagsPresenter extends BaseAdminPresenter

Class TagsPresenter

Tags
subpackage

Modules\Tags\Presenters

Table of Contents

$assets  : Assets
$baseFormFactory  : BaseFormFactory
$hooksManager  : TemplateHooks
$local_context  : Container
$modelHooks  : ModelHooks
$permissionsManager  : PermissionsManager
$systemNotificationsManager  : SystemNotificationsManager
$tagsManager  : TagsManager
$translator  : Translator
$checkAuthentication  : mixed
_()  : mixed
actionDefault()  : mixed
Переадресация на страницу групп тегов
actionEdit()  : mixed
Страница редактирования тега
actionEditGroup()  : mixed
Страница редактирования группы тегов
checkActivityModule()  : mixed
createComponentEditGroupForm()  : Form
Форма добавления или редактирования группы тегов
createComponentEditTagsForm()  : IComponent|null
create control EditTagsForm
createComponentQueryBuilder()  : mixed
createComponentTagsGrid()  : DataGrid
Таблица тегов
createComponentTagsGroupsGrid()  : DataGrid
Таблица групп тегов
getLang()  : mixed
handleDelete()  : mixed
Обработчик удаления тега
handleDeleteTags()  : mixed
handleGroupDelete()  : mixed
Обработчик удаления группы тегов
handleGroupsDelete()  : mixed
Обработчик удаления групп тегов
isActiveModule()  : mixed
isLinksCurrent()  : bool
onSaveEditTagsForm()  : mixed
onSaveEditTagsGroupForm()  : mixed
Обработчик формы добавления или редактирования группы тегов
renderAdd()  : mixed
renderDateFromTrueFormat()  : mixed
renderShow()  : mixed
beforeRender()  : mixed
isSupperUser()  : bool
startup()  : mixed
getModuleName()  : string
includeAssets()  : mixed

Properties

Methods

_()

public _(mixed $message, mixed ...$parameters) : mixed
Parameters
$message : mixed
$parameters : mixed
Return values
mixed

actionDefault()

Переадресация на страницу групп тегов

public actionDefault() : mixed
Tags
throws
AbortException
Return values
mixed

actionEditGroup()

Страница редактирования группы тегов

public actionEditGroup( $name) : mixed
Parameters
$name :
Tags
throws
BadRequestException
Return values
mixed

createComponentEditGroupForm()

Форма добавления или редактирования группы тегов

public createComponentEditGroupForm(string $name) : Form
Parameters
$name : string
Return values
Form

createComponentEditTagsForm()

create control EditTagsForm

public createComponentEditTagsForm(string $name) : IComponent|null
Parameters
$name : string
Return values
IComponent|null

createComponentQueryBuilder()

public createComponentQueryBuilder() : mixed
Return values
mixed

createComponentTagsGrid()

Таблица тегов

public createComponentTagsGrid(string $name) : DataGrid
Parameters
$name : string
Tags
throws
TagGroupInvalidName
throws
DataGridException
Return values
DataGrid

createComponentTagsGroupsGrid()

Таблица групп тегов

public createComponentTagsGroupsGrid(string $name) : DataGrid
Parameters
$name : string
Tags
throws
DataGridException|AssetsException
Return values
DataGrid

handleDelete()

Обработчик удаления тега

public handleDelete(string $uuid) : mixed
Parameters
$uuid : string
Tags
throws
AbortException
throws
TagDelFail
Return values
mixed

handleDeleteTags()

public handleDeleteTags(array<string|int, mixed> $uuids) : mixed
Parameters
$uuids : array<string|int, mixed>
Return values
mixed

handleGroupDelete()

Обработчик удаления группы тегов

public handleGroupDelete(string $name) : mixed
Parameters
$name : string

Имя группы тегов

Tags
throws
AbortException
Return values
mixed

handleGroupsDelete()

Обработчик удаления групп тегов

public handleGroupsDelete(array<string|int, mixed> $names) : mixed
Parameters
$names : array<string|int, mixed>

Список имен групп тегов

Tags
throws
AbortException
Return values
mixed

isActiveModule()

public isActiveModule() : mixed
Return values
mixed

isLinksCurrent()

public isLinksCurrent([mixed $currents = [] ]) : bool
Parameters
$currents : mixed = []
Return values
bool

onSaveEditTagsForm()

public onSaveEditTagsForm(Form $form, ArrayHash $values) : mixed
Parameters
$form : Form
$values : ArrayHash
Tags
throws
AbortException
throws
TagInsertFail
Return values
mixed

onSaveEditTagsGroupForm()

Обработчик формы добавления или редактирования группы тегов

public onSaveEditTagsGroupForm(Form $form, ArrayHash $values) : mixed
Parameters
$form : Form
$values : ArrayHash
Tags
throws
AbortException
Return values
mixed

renderAdd()

public renderAdd([mixed $name = null ]) : mixed
Parameters
$name : mixed = null
Return values
mixed

renderDateFromTrueFormat()

public renderDateFromTrueFormat(mixed $date) : mixed
Parameters
$date : mixed
Return values
mixed

renderShow()

public renderShow(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

beforeRender()

protected beforeRender() : mixed
Return values
mixed

startup()

protected startup() : mixed
Return values
mixed

getModuleName()

private getModuleName( $presenter_name) : string
Parameters
$presenter_name :
Return values
string

includeAssets()

private includeAssets() : mixed
Return values
mixed

Search results