Issues (158)

code/cms/SocialNetworkingModelAdmin.php (3 issues)

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
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
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
The private property $menu_title is not used, and could be removed.
Loading history...
36
}
37