You are here

protected static function SocialContent::httpRequest in Social Content 7.2

Utility method make remote request.

Parameters

string $url: The url to make the request to.

array $options: The options for this request.

15 calls to SocialContent::httpRequest()
SocialContent::saveExternalFile in ./social_content.class.inc
Utility static function to get and save a remote file.
SocialContentFacebook::getRows in modules/facebook/social_content_facebook.class.inc
Get the rows to import.
SocialContentFacebook::saveInstanceSettings in modules/facebook/social_content_facebook.class.inc
Save instance settings.
SocialContentFlickr::getRows in modules/flickr/social_content_flickr.class.inc
Get the rows to import.
SocialContentInstagram::getRowsAccount in modules/instagram/social_content_instagram.class.inc
Get rows from a Instagram user_id.

... See full list

File

./social_content.class.inc, line 1040
Social Content class.

Class

SocialContent
TODO: Table names should be a property for ease of change Separate this class into smaller classes.

Code

protected static function httpRequest($url, $options = array()) {
  return drupal_http_request($url, $options);
}