public function getHeight() { $options = $this->getOptions(); if ($options["height"]) { return $options["height"]; } return 300; }