TagsPresenter
extends BaseAdminPresenter
in package
Class TagsPresenter
Tags
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
$assets
public
Assets
$assets
$baseFormFactory
public
BaseFormFactory
$baseFormFactory
$hooksManager
public
TemplateHooks
$hooksManager
$local_context
public
Container
$local_context
$modelHooks
public
ModelHooks
$modelHooks
$permissionsManager
public
PermissionsManager
$permissionsManager
$systemNotificationsManager
public
SystemNotificationsManager
$systemNotificationsManager
$tagsManager
public
TagsManager
$tagsManager
$translator
public
Translator
$translator
$checkAuthentication
protected
mixed
$checkAuthentication
= true
Methods
_()
public
_(mixed $message, mixed ...$parameters) : mixed
Parameters
- $message : mixed
- $parameters : mixed
Return values
mixed —actionDefault()
Переадресация на страницу групп тегов
public
actionDefault() : mixed
Tags
Return values
mixed —actionEdit()
Страница редактирования тега
public
actionEdit( $uuid, $name) : mixed
Parameters
Tags
Return values
mixed —actionEditGroup()
Страница редактирования группы тегов
public
actionEditGroup( $name) : mixed
Parameters
Tags
Return values
mixed —checkActivityModule()
public
checkActivityModule(ModuleInfo $infoModule) : mixed
Parameters
- $infoModule : ModuleInfo
Tags
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
Return values
DataGrid —createComponentTagsGroupsGrid()
Таблица групп тегов
public
createComponentTagsGroupsGrid(string $name) : DataGrid
Parameters
- $name : string
Tags
Return values
DataGrid —getLang()
public
getLang() : mixed
Return values
mixed —handleDelete()
Обработчик удаления тега
public
handleDelete(string $uuid) : mixed
Parameters
- $uuid : string
Tags
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
Return values
mixed —handleGroupsDelete()
Обработчик удаления групп тегов
public
handleGroupsDelete(array<string|int, mixed> $names) : mixed
Parameters
- $names : array<string|int, mixed>
-
Список имен групп тегов
Tags
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
Return values
mixed —onSaveEditTagsGroupForm()
Обработчик формы добавления или редактирования группы тегов
public
onSaveEditTagsGroupForm(Form $form, ArrayHash $values) : mixed
Parameters
- $form : Form
- $values : ArrayHash
Tags
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 —isSupperUser()
protected
isSupperUser() : bool
Return values
bool —startup()
protected
startup() : mixed
Return values
mixed —getModuleName()
private
getModuleName( $presenter_name) : string
Parameters
Return values
string —includeAssets()
private
includeAssets() : mixed