SocialNetworkingModelAdmin
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 8
dl 0
loc 21
c 0
b 0
f 0
wmc 0
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
The private property $managed_models is not used, and could be removed.
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
introduced by
The private property $url_segment is not used, and could be removed.
Loading history...
31
32
    /**
33
     * @var string
34
     */
35
    private static $menu_title = 'Social Media';
0 ignored issues
show
introduced by
The private property $menu_title is not used, and could be removed.
Loading history...
36
}
37