public function video_zencoder::change_status in Video 7
Same name and namespace in other branches
- 6.5 plugins/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::change_status()
- 6.4 plugins/video_zencoder/transcoders/video_zencoder.inc \video_zencoder::change_status()
Change the status of the file.
Parameters
(int) $vid:
(int) $status:
Overrides transcoder_interface::change_status
1 call to video_zencoder::change_status()
- video_zencoder::convert_video in modules/
video_zencoder/ transcoders/ video_zencoder.inc
File
- modules/
video_zencoder/ transcoders/ video_zencoder.inc, line 389
Class
Code
public function change_status($vid, $status) {
db_update('video_zencoder')
->fields(array(
'status' => $status,
))
->condition('vid', $vid, '=')
->execute();
}