PATH:
home
/
letacommog
/
letaweb
/
protected
/
extensions
/
yii-facebook-opengraph
/
plugins
<?php /** * ActivityFeed class file. * * @author Evan Johnson <thaddeusmt - AT - gmail - DOT - com> * @author Ianaré Sévi (original author) www.digitick.net * * @link https://github.com/splashlab/yii-facebook-opengraph * * @copyright Copyright © 2011 SplashLab Social http://splashlabsocial.com * @license http://www.gnu.org/licenses/gpl-2.0.html GNU General Public License, version 2 */ require_once 'SPluginBase.php'; /** * The Like button lets a user share your content with friends on Facebook. * * When the user clicks the Like button on your site, a story appears in the * user's friends' News Feed with a link back to your website. * * @see http://developers.facebook.com/docs/reference/plugins/like */ class LikeButton extends SPluginBase { /** * @var string The URL of the Facebook page for this Like button. */ public $href; /** * @var bool Display profile photos below the button (standard layout only). */ public $show_faces; /** * @var int Width of the Like button, defults to 450px */ public $width; /** * @var string Three options : 'standard', 'button_count', 'box_count' */ public $layout; /** * @var string The verb to display on the button. Options: 'like', 'recommend' */ public $action; /** * @var string The font to display in the button. Options: 'arial', * 'lucida grande', 'segoe ui', 'tahoma', 'trebuchet ms', 'verdana' */ public $font; /** * @var string The color scheme for the plugin. Options: 'light', 'dark' */ public $colorscheme; /** * @var string A label for tracking referrals; must be less than 50 * characters and can contain alphanumeric characters and some punctuation * (currently +/=-.:_). */ public $ref; /** * @var bool Specifies whether to include a Send button with the Like * button. */ public $send; public function run() { parent::run(); $params = $this->getParams(); $this->renderTag('like', $params); } }
[+]
..
[-] LikeButton.php
[edit]
[-] LikeBox.php
[edit]
[-] SPluginBase.php
[edit]
[-] ActivityFeed.php
[edit]
[-] Registration.php
[edit]
[-] Recommendations.php
[edit]
[-] LiveStream.php
[edit]
[-] RegistrationParser.php
[edit]
[-] Facepile.php
[edit]
[-] Comments.php
[edit]
[-] LoginButton.php
[edit]
[-] FanBox.php
[edit]