You are here

public function video_amazon_s3::get_object in Video 6.5

Same name and namespace in other branches
  1. 6.4 plugins/video_s3/video_s3.lib.inc \video_amazon_s3::get_object()

File

plugins/video_s3/video_s3.lib.inc, line 159
Class file to handle amazon s3 transfers.

Class

video_amazon_s3

Code

public function get_object($filepath, $saveTo = FALSE) {
  return $this->s3
    ->get_object($this->bucket, $filepath, array(
    'fileDownload' => $saveTo,
  ));
}