SproutCMS

This is the code documentation for the SproutCMS project

function pageLink()

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

Usage

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

Arguments

  1. string $type
    The network type to display, e.g. 'facebook'
  2. bool $new_window = TRUE
    Should the link be in a new window?

Return value

  • string
    The opening A link HTML