You are here

public function video_preset::__construct in Video 7

Same name and namespace in other branches
  1. 6.5 video.lib.inc \video_preset::__construct()
  2. 6.4 includes/preset.inc \video_preset::__construct()

File

includes/preset.inc, line 13

Class

video_preset

Code

public function __construct($preset = null) {
  $this->preset = $preset;
  if (!isset($preset)) {
    $this->preset = variable_get('video_preset', array());
  }
}