/** * @return string */ public function getContent() { $content = parent::getContent(); if (!isset($content)) { $items = $this->items; asort($items); $content = ''; foreach ($items as $item) { $content .= new List_Item($item); } $this->setContent($content); } return $content; }
/** * @return string * @todo This is a patch to make Html_Option::getContent work. Remove this when it will work */ public function getContent() { return parent::getContent(); }