SproutCMS

This is the code documentation for the SproutCMS project

class SocialNetworking

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

Extending this class

<?php
/**
* New class description goes here
* 
* @author Your Name, 2026-09-15
**/
class NewClassName extends SocialNetworking {
    
    /**
    * Get the A tag for a twitter share link
    **/
    public function twitterLink (string $tweet, string $link, string $via_handle, string $class) {
        // Method code goes here
    }
    
    /**
    * Output a twitter share button
    **/
    public function twitter ($icon, $tweet) {
        // Method code goes here
    }
    
    /**
    * Get the A tag for a linkedIn share link
    **/
    public function linkedinLink ($class) {
        // Method code goes here
    }
    
    /**
    * Output a linkedin share button
    **/
    public function linkedin ($icon) {
        // Method code goes here
    }
    
    /**
    * Get the A tag for an email share link
    **/
    public function emailLink ($class) {
        // Method code goes here
    }
    
    /**
    * Output a email share button
    **/
    public function email ($icon) {
        // Method code goes here
    }
    
    public function getTitle () {
        // Method code goes here
    }
    
    public function getDesc () {
        // Method code goes here
    }
    
    /**
    * Get the A tag for a facebook share link
    **/
    public function facebookLink ($class) {
        // Method code goes here
    }
    
    /**
    * Get a facebook share button
    **/
    public function facebook ($icon) {
        // Method code goes here
    }
    
    /**
    * Return a link to the main page for a given social media platform
    **/
    public function pageLink (string $type, bool $new_window) {
        // Method code goes here
    }
    
    /**
    * Set the share details to use when submitting to the various websites.
    **/
    public function details ($title, $desc, $url) {
        // Method code goes here
    }
    
    /**
    * Checks if there are details available
    **/
    public function hasdetails () {
        // Method code goes here
    }
    
    public function getUrl () {
        // Method code goes here
    }
    
}
?>