<?php
namespace Jet_Engine\Dashboard;
abstract class Base_Tab {
abstract public function slug();
abstract public function label();
abstract public function load_config();
public function condition() {
return true;
}
/**
* Render tab on this hook
* @return [type] [description]
*/
public function hook() {
return 'jet-engine/dashboard/tabs';
}
/**
* Returns assets needto be enqueued with this tab
* @return string|array
*/
public function assets() {
return 'jet-engine-tab-manager';
}
/**
* Render tab callback
* @return [type] [description]
*/
public function render_tab() {
?>
<cx-vui-tabs-panel
name="<?= $this->slug() ?>"
label="<?= $this->label() ?>"
key="<?= $this->slug() ?>"
>
<keep-alive>
<jet-engine-tab-<?= $this->slug() ?> />
</keep-alive>
</cx-vui-tabs-panel>
<?php
}
public function render_assets() {
}
}
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| base-tab.php | 2026-07-21 14:15 | 901 B | 76129f60960:kunden | -xw-x----- | |
| manager.php | 2026-07-21 14:15 | 8.95 KB | 76129f60960:kunden | -xw-x----- | |
| misc-settings.php | 2026-07-21 14:15 | 11.82 KB | 76129f60960:kunden | -xw-x----- | |
| presets.php | 2026-07-21 14:15 | 15.06 KB | 76129f60960:kunden | -xw-x----- | |
| skins-export.php | 2026-07-21 14:15 | 17.06 KB | 76129f60960:kunden | -xw-x----- | |
| skins-import.php | 2026-07-21 14:15 | 25.13 KB | 76129f60960:kunden | -xw-x----- | |
| tab-manager.php | 2026-07-21 14:15 | 1.92 KB | 76129f60960:kunden | -xw-x----- | |