You are here

public function video_amazon_s3::get_object in Video 6.4

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

File

plugins/video_s3/video_s3.lib.inc, line 312

Class

video_amazon_s3

Code

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