You are here

public function video_amazon_s3::get 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()

File

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

Class

video_amazon_s3

Code

public function get($fid) {
  $sql = db_query('SELECT * FROM {video_s3} WHERE fid = %d AND status = %d', $fid, VIDEO_S3_COMPLETE);
  return db_fetch_object($sql);
}