public static function getAllProviders()
{
static $allProviders;
if (!isset($allProviders))
public static function getAllProviders()
{
static $allProviders;
$allProviders[] = self::provider('google');
$allProviders[] = self::provider('facebook');
if (!isset($allProviders))
function getLoginButton($x = null, $y = null, $z = null)
{
$providers = JFBCFactory::getAllProviders();
$html = "";
foreach ($providers as $p)
$html .= $p->loginButton();
if (SCSocialUtilities::isJLinkedInstalled())
$html .= '<div class="jLinkedLoginImage pull-left"><a class="show" id="sc_lilogin" href="javascript:void(0)" onclick="jlinked.login.login();"><img src="' . JURI::root() . 'media/sourcecoast/images/provider/button_linkedin.png" /></a></div>';
function getLoginButton($x = null, $y = null, $z = null)
{
$providers = JFBCFactory::getAllProviders();
$html = "";
if (SCSocialUtilities::isJLinkedInstalled())
$html .= '<div class="jLinkedLoginImage pull-left"><a class="show" id="sc_lilogin" href="javascript:void(0)" onclick="jlinked.login.login();"><img src="' . JURI::root() . 'media/sourcecoast/images/provider/button_linkedin.png" /></a></div>';
foreach ($providers as $p)
$html .= $p->loginButton();
if ($showTwitterButton)
$buttonText .= $likeText;
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.