1 | <?php |
||
2 | |||
3 | namespace Dynamic\Staff\Admin; |
||
4 | |||
5 | use Dynamic\Staff\Model\StaffDepartment; |
||
6 | use Dynamic\Staff\Pages\StaffMember; |
||
7 | use LittleGiant\CatalogManager\ModelAdmin\CatalogPageAdmin; |
||
8 | |||
9 | class StaffAdmin extends CatalogPageAdmin |
||
10 | { |
||
11 | /** |
||
12 | * @var array |
||
13 | */ |
||
14 | private static $managed_models = [ |
||
0 ignored issues
–
show
introduced
by
![]() |
|||
15 | StaffMember::class, |
||
16 | StaffDepartment::class, |
||
17 | ]; |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | private static $url_segment = 'staff'; |
||
0 ignored issues
–
show
|
|||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | private static $menu_title = 'Staff'; |
||
0 ignored issues
–
show
|
|||
28 | } |
||
29 |