You are here

function cc::download_activity_file in Constant Contact 7.3

Same name and namespace in other branches
  1. 6.3 class.cc.php \cc::download_activity_file()
  2. 6.2 class.cc.php \cc::download_activity_file()

Downloads an activity file.

@access public

File

./class.cc.php, line 975
Constant Contact PHP Class

Class

cc
@file Constant Contact PHP Class

Code

function download_activity_file($filename) {
  $this
    ->http_set_content_type(NULL);
  $this
    ->load_url("activities/{$filename}", 'get');
  return $this->http_response_body;
}