Esempio n. 1
0
    protected function _headerRendering()
    {
        if (trim($this->_obj->getTitle()) == '') {
            $title = 'List';
        } else {
            $title = $this->_escape($this->_obj->getTitle());
        }
        $status = $this->_obj->getParameter('open_default') == true ? 'open' : 'close';
        $html_head = <<<HTML
<div class="{$this->getParameter('css')}" id="{$this->_instanceof}_{$this->_obj->getId()}">
<h4 class="title slide_toggle {$status}"><div class="icon"></div>{$title}</h4>
<div class="content">
HTML;
        return $html_head;
    }