SproutCMS

This is the code documentation for the SproutCMS project

Page options:

Inherited members

class SocialNetworking

Has methods for outputting links for submitting to a number of social networking sites

Variables

NameVisibilityDescription
$desc (static) 
$title (static) 
$url (static) 

Functions

NameVisibilityDescription
detailspublic (static)Set the share details to use when submitting to the various websites.
emailpublic (static)Output a email share button
emailLinkpublic (static)Get the A tag for an email share link
facebookpublic (static)Get a facebook share button
facebookLinkpublic (static)Get the A tag for a facebook share link
getDescpublic (static) 
getTitlepublic (static) 
getUrlpublic (static) 
hasdetailspublic (static)Checks if there are details available
linkedinpublic (static)Output a linkedin share button
linkedinLinkpublic (static)Get the A tag for a linkedIn share link
pageLinkpublic (static)Return a link to the main page for a given social media platform
twitterpublic (static)Output a twitter share button
twitterLinkpublic (static)Get the A tag for a twitter share link

public details

void SocialNetworking::details ( mixed $title , mixed $desc [, mixed $url ] );

Set the share details to use when submitting to the various websites.

public email

void SocialNetworking::email ( [ mixed $icon ] );

Output a email share button

public emailLink

unknown SocialNetworking::emailLink ( [ mixed $class ] );

Get the A tag for an email share link

public facebook

void SocialNetworking::facebook ( [ mixed $icon ] );

Get a facebook share button

public facebookLink

unknown SocialNetworking::facebookLink ( [ mixed $class ] );

Get the A tag for a facebook share link

public getDesc

unknown SocialNetworking::getDesc ( );

This function does not have a description

public getTitle

unknown SocialNetworking::getTitle ( );

This function does not have a description

public getUrl

unknown SocialNetworking::getUrl ( );

This function does not have a description

public hasdetails

unknown SocialNetworking::hasdetails ( );

Checks if there are details available

public linkedin

void SocialNetworking::linkedin ( [ mixed $icon ] );

Output a linkedin share button

public linkedinLink

unknown SocialNetworking::linkedinLink ( [ mixed $class ] );

Get the A tag for a linkedIn share link

public pageLink

string SocialNetworking::pageLink ( string $type [, bool $new_window ] );

Return a link to the main page for a given social media platform

public twitter

void SocialNetworking::twitter ( [ mixed $icon [, mixed $tweet ]] );

Output a twitter share button

public twitterLink

string SocialNetworking::twitterLink ( [ string $tweet [, string $link [, string $via_handle [, string $class ]]]] );

Get the A tag for a twitter share link