function setExtends($options)
    {
        foreach ($options as $key => $v) {
            if (!is_int($key))
                $v = array($key => $v);

            $this->addExtend($v);
        }


        return $this;
    }