PATH:
home
/
letacommog
/
letaweb
/
protected
/
extensions
/
yii-facebook-opengraph
/
plugins
<?php /** * LoginButton 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 Login Button shows profile pictures of the user's friends who have * already signed up for your site in addition to a login button. * * @see http://developers.facebook.com/docs/reference/plugins/login */ class LoginButton extends SPluginBase { /** * @var string The URL of the page. * * The plugin will display photos of users who have liked this page. */ public $show_faces; /** * @var int The maximum number of rows of profile pictures to display. * Default value: 1. */ public $max_rows; /** * @var int The width of the plugin in pixels. Default width: 200px. */ public $width; /** * @var string A comma separated list of extended permissions. * * By default the Login button prompts users for their public information. * If your application needs to access other parts of the user's profile * that may be private, your application can request extended permissions. * * @see http://developers.facebook.com/docs/authentication/permissions/ */ public $perms; public function run() { parent::run(); $params = $this->getParams(); $this->renderTag('login-button', $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]