You are here

class ZencoderOutputFile in Video 7

Hierarchy

Expanded class hierarchy of ZencoderOutputFile

File

modules/video_zencoder/includes/Zencoder.php, line 93

View source
class ZencoderOutputFile {
  var $id;
  var $label;
  var $url;
  var $state;
  var $error_message;
  var $error_link;
  function ZencoderOutputFile($attributes = array()) {
    $this
      ->update_attributes($attributes);
  }

  // Add/Update attributes on the file object.
  function update_attributes($attributes = array()) {
    foreach ($attributes as $attr_name => $attr_value) {
      if (!function_exists($this->{$attr_name})) {
        $this->{$attr_name} = $attr_value;
      }
    }
  }

}

Members