Files
MokoSuiteClient/source/packages/com_mokosuite/admin/src/View/Database/HtmlView.php
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
766 B
PHP
Raw Normal View History

2026-06-04 07:38:21 -05:00
<?php
namespace Moko\Component\MokoSuite\Administrator\View\Database;
2026-06-04 07:38:21 -05:00
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\MVC\View\HtmlView as BaseHtmlView;
use Joomla\CMS\Toolbar\ToolbarHelper;
class HtmlView extends BaseHtmlView
{
protected $tableData = [];
public function display($tpl = null)
{
$model = new \Moko\Component\MokoSuite\Administrator\Model\MaintenanceModel();
2026-06-04 07:38:21 -05:00
$this->tableData = $model->getTableStatus();
ToolbarHelper::title('Database Tools', 'database');
ToolbarHelper::back('JTOOLBAR_BACK', 'index.php?option=com_mokosuite');
2026-06-04 07:38:21 -05:00
$wa = Factory::getApplication()->getDocument()->getWebAssetManager();
$wa->registerAndUseStyle('com_mokosuite.dashboard', 'com_mokosuite/dashboard.css');
2026-06-04 07:38:21 -05:00
parent::display($tpl);
}
}