/** * Override of default SetHeight(). If $height is less than 200, but greater than 60 the editor area is reduced. * * @param integer $height */ function SetHeight($height) { parent::SetHeight($height); if (is_int($height) && $height > 60 && $height < 200) { $this->SetConfig('height', $height - 60); } }