Has methods for outputting links for submitting to a number of social networking sites
This is the code documentation for the SproutCMS project
Search documentation |
class SocialNetworkingHas 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
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Tuesday, 15th September, 2026 at 10:26 am |
|