|
123456789101112131415161718192021222324252627282930 |
- <?php
-
- namespace common\logic\Setting\SettingDetails\Producer;
-
- use common\logic\Setting\SettingDefinition;
-
- class ProducerSettingDefinition extends SettingDefinition
- {
- const SECTION_GENERAL = 'general';
- const SUBSECTION_GENERAL = 'general.main';
-
- public function getSettings(): array
- {
- return [
- self::SECTION_GENERAL => [
- self::SUBSECTION_GENERAL => [
- // ...
- ]
- ]
- ];
- }
-
- public function getSectionLabels(): array
- {
- return [
- self::SECTION_GENERAL => 'General',
- self::SUBSECTION_GENERAL => 'General',
- ];
- }
- }
|