1 | <?php |
||
2 | |||
3 | namespace SunnysideUp\ShareThis; |
||
4 | |||
5 | use SunnysideUp\ShareThis\SocialNetworkingLinksDataObject; |
||
6 | use SunnysideUp\ShareThis\ShareThisDataObject; |
||
7 | use SunnysideUp\ShareThis\FacebookFeed_Page; |
||
8 | use SunnysideUp\ShareThis\FacebookFeed_Item; |
||
9 | use SilverStripe\Admin\ModelAdmin; |
||
10 | |||
11 | /** |
||
12 | *@author: nicolaas[at]sunnysideup.co.nz |
||
13 | *@description: manages social networking data objects |
||
14 | **/ |
||
15 | class SocialNetworkingModelAdmin extends ModelAdmin |
||
16 | { |
||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | private static $managed_models = [ |
||
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
21 | SocialNetworkingLinksDataObject::class, |
||
22 | ShareThisDataObject::class, |
||
23 | FacebookFeed_Page::class, |
||
24 | FacebookFeed_Item::class |
||
25 | ]; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | private static $url_segment = 'social'; |
||
0 ignored issues
–
show
|
|||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | private static $menu_title = 'Social Media'; |
||
0 ignored issues
–
show
|
|||
36 | } |
||
37 |