Asset
5 years ago
HelpTab
5 years ago
Main
5 years ago
Menu
5 years ago
Notice
5 years ago
Preference
5 years ago
ScreenOption
5 years ago
Section
5 years ago
AddonStatus.php
5 years ago
Admin.php
5 years ago
AdminNetwork.php
5 years ago
AdminScripts.php
5 years ago
Banner.php
5 years ago
HelpTab.php
5 years ago
Helpable.php
5 years ago
MainFactory.php
5 years ago
MainFactoryInterface.php
5 years ago
Menu.php
5 years ago
MenuFactory.php
5 years ago
MenuFactoryInterface.php
5 years ago
NetworkRequestHandler.php
5 years ago
Page.php
5 years ago
PageFactory.php
5 years ago
PageFactoryInterface.php
5 years ago
PageRequestHandler.php
5 years ago
RequestHandler.php
5 years ago
RequestHandlerInterface.php
5 years ago
ScreenOption.php
5 years ago
ScreenOptions.php
5 years ago
Section.php
5 years ago
SectionCollection.php
5 years ago
Table.php
5 years ago
Tooltip.php
5 years ago
WpMenuFactory.php
5 years ago
Section.php
25 lines
| 1 | <?php |
| 2 | |
| 3 | namespace AC\Admin; |
| 4 | |
| 5 | use AC\Renderable; |
| 6 | |
| 7 | abstract class Section implements Renderable { |
| 8 | |
| 9 | /** |
| 10 | * @var string |
| 11 | */ |
| 12 | protected $slug; |
| 13 | |
| 14 | public function __construct( $slug ) { |
| 15 | $this->slug = $slug; |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * @return string |
| 20 | */ |
| 21 | public function get_slug() { |
| 22 | return $this->slug; |
| 23 | } |
| 24 | |
| 25 | } |