2026-06-04 07:38:21 -05:00
|
|
|
<?php
|
2026-06-15 05:19:13 -05:00
|
|
|
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)
|
|
|
|
|
{
|
2026-06-15 05:19:13 -05:00
|
|
|
$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');
|
2026-06-15 05:19:13 -05:00
|
|
|
ToolbarHelper::back('JTOOLBAR_BACK', 'index.php?option=com_mokosuiteclient');
|
2026-06-04 07:38:21 -05:00
|
|
|
|
|
|
|
|
$wa = Factory::getApplication()->getDocument()->getWebAssetManager();
|
2026-06-15 05:19:13 -05:00
|
|
|
$wa->registerAndUseStyle('com_mokosuiteclient.dashboard', 'com_mokosuiteclient/dashboard.css');
|
2026-06-04 07:38:21 -05:00
|
|
|
|
|
|
|
|
parent::display($tpl);
|
|
|
|
|
}
|
|
|
|
|
}
|