public function getWidth() { $options = $this->getOptions(); if (isset($options["width"]) && $options["width"]) { return $options["width"]; } return "100%"; }