public function ShareaholicShareCount::__construct in Share Buttons, Related Posts, Content Analytics - Shareaholic 7.3
Same name and namespace in other branches
- 8 lib/social-share-counts/share_count.php \ShareaholicShareCount::__construct()
File
- lib/
social-share-counts/ share_count.php, line 23
Class
- ShareaholicShareCount
- An abstract class Share Counts to be extended
Code
public function __construct($url, $services, $options) {
// encode the url if needed
if (!$this
->is_url_encoded($url)) {
$url = urlencode($url);
}
$this->url = $url;
$this->services = $services;
$this->options = $options;
$this->raw_response = array();
}