You are here

function cc::download_activity_file in Constant Contact 6.2

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

* Downloads an activity file * * @access public

File

./class.cc.php, line 833

Class

cc
@file

Code

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