Asset
1 month ago
Banner
1 month ago
Colors
1 month ago
MenuGroupFactory
1 month ago
MenuPageFactory
1 month ago
Notice
1 month ago
Page
1 month ago
PageFactory
1 month ago
Preference
1 month ago
Type
1 month ago
View
1 month ago
Admin.php
1 month ago
AdminLoader.php
1 month ago
AdminNetwork.php
1 month ago
AdminScripts.php
1 month ago
HelpTab.php
1 month ago
Helpable.php
1 month ago
Menu.php
1 month ago
MenuFactory.php
1 month ago
MenuFactoryInterface.php
1 month ago
MenuGroupFactory.php
1 month ago
MenuListFactory.php
1 month ago
MenuListItems.php
1 month ago
MenuPageFactory.php
1 month ago
PageFactoryInterface.php
1 month ago
PageNetworkRequestHandler.php
1 month ago
PageNetworkRequestHandlers.php
1 month ago
PageRequestHandler.php
1 month ago
PageRequestHandlers.php
1 month ago
RenderableHead.php
1 month ago
RequestHandlerInterface.php
1 month ago
ScreenOption.php
1 month ago
ScreenOptions.php
1 month ago
Scripts.php
1 month ago
Tooltip.php
1 month ago
UninitializedScreens.php
1 month ago
HelpTab.php
30 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AC\Admin; |
| 4 | |
| 5 | abstract class HelpTab |
| 6 | { |
| 7 | |
| 8 | private string $id; |
| 9 | |
| 10 | private string $title; |
| 11 | |
| 12 | public function __construct(string $id, string $title) |
| 13 | { |
| 14 | $this->id = 'ac-tab-' . $id; |
| 15 | $this->title = $title; |
| 16 | } |
| 17 | |
| 18 | public function get_title(): string |
| 19 | { |
| 20 | return $this->title; |
| 21 | } |
| 22 | |
| 23 | public function get_id(): string |
| 24 | { |
| 25 | return $this->id; |
| 26 | } |
| 27 | |
| 28 | abstract public function get_content(): string; |
| 29 | |
| 30 | } |