mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-18 08:48:20 +03:00
44 lines
864 B
PHP
44 lines
864 B
PHP
<?php
|
|
/**
|
|
* Статическая страница доната
|
|
*
|
|
* @package application.actions
|
|
* @since 1.0
|
|
*/
|
|
class ActionDonate extends Action
|
|
{
|
|
/**
|
|
* Инициализация экшена
|
|
*
|
|
*/
|
|
public function Init()
|
|
{
|
|
/**
|
|
* Устанавливаем дефолтный евент
|
|
*/
|
|
$this->SetDefaultEvent('index');
|
|
}
|
|
|
|
/**
|
|
* Регистрируем евенты
|
|
*
|
|
*/
|
|
protected function RegisterEvent()
|
|
{
|
|
$this->AddEvent('index', 'EventIndex');
|
|
}
|
|
|
|
/**
|
|
* Вывод правил
|
|
*
|
|
*/
|
|
protected function EventIndex()
|
|
{
|
|
/**
|
|
* Устанавливаем title страницы
|
|
*/
|
|
$this->Viewer_AddHtmlTitle('Поддержать IFHub');
|
|
$this->SetTemplateAction('index');
|
|
}
|
|
}
|