public function setHeight($height) { if (empty($height)) { $height = 300; } parent::setHeight($height); }