Files
MokoSuiteClient/source/packages/com_mokosuiteclient/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
796 B
PHP
Raw Normal View History

2026-06-04 07:38:21 -05:00
<?php
namespace Moko\Component\MokoSuiteClient\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\MokoSuiteClient\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_mokosuiteclient');
2026-06-04 07:38:21 -05:00
$wa = Factory::getApplication()->getDocument()->getWebAssetManager();
$wa->registerAndUseStyle('com_mokosuiteclient.dashboard', 'com_mokosuiteclient/dashboard.css');
2026-06-04 07:38:21 -05:00
parent::display($tpl);
}
}