-
Notifications
You must be signed in to change notification settings - Fork 17
/
Comments.php
48 lines (43 loc) · 1.08 KB
/
Comments.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* Wrappers for facebook plugins.
* @copyright © Digitick <www.digitick.net> 2011
* @license GNU Lesser General Public License v3.0
* @author Ianaré Sévi
*/
require_once 'EFaceplugsBase.php';
/**
* The Comments Box easily enables your users to comment on your site's content —
* whether it's for a web page, article, photo, or other piece of content.
*
* @see http://developers.facebook.com/docs/reference/plugins/comments
*/
class Comments extends EFaceplugsBase
{
/**
* @var string the URL for this Comments plugin. News feed stories on Facebook
* will link to this URL.
*/
public $href;
/**
* @var integer The width of the widget.
*/
public $width;
/**
* @var string the colors scheme for the plugin. Options:'light','dark'
*/
public $colorscheme;
/**
* @var integer The number of comments to show by default. Default:'10. Minimum:1
*/
public $num_posts;
/**
* @var string whether to show the mobile-optimized version.Default:auto-delect.
*/
public $mobile;
public function run()
{
parent::run();
$this->renderTag('comments');
}
}