public function setOptions($options)
    {
        // $param should be a single key => value pair
        if (is_array($options)) {
            foreach ($options as $key => $option) {
                $this->options[$key] = $option;
            }
        }
    }