public function __construct($url, $origin = false, $type = false, array $options = array())
 {
     parent::__construct($url, $origin, $type, $options);
     $this->extraClass = array();
     if (isset($options['class'])) {
         $this->extraClass[$options['class']] = true;
     }
 }
 public function __construct($url, $origin = false, $type = false, array $options = array())
 {
     parent::__construct($url, $origin, $type, $options);
     $this->_useLightbox = isset($options['lightbox']) && ($options['lightbox'] === true || $options['lightbox'] == 'true');
     $this->extraClass = array();
     if (isset($options['class'])) {
         $this->extraClass[$options['class']] = true;
     }
 }