Пример #1
0
    /**
     * 获取布局的头部html内容
     * 
     * @access protected
     * @param string $layout_id 布局id
     */
    function _getLayoutHeadData($layout_id)
    {
        list($layout_type, ) = explode('_', $layout_id);
        $layout_info = $this->service->getLayoutInfo($layout_type);
        return '<div class="' . $this->_htmlConfig['layoutheadclass'] . '">
<span>' . $layout_info['desc'] . '</span>
<a class="closeEl" href="javascript:void(0);">[x]</a>
</div>';
    }