Render a panel body

@param string $html
@param array $options
@return string
971465
public function panelBody($html, $options = array()) {
		$defaults = array('class' => '');
		$options = array_merge($defaults, $options);
		$options = $this->addClass($options, 'panel-body');
		return $this->tag('div', $html, $options);
	}
885287
public function renderItem($label, $options = array())
    {
        if ($this->tagName === 'nav') {
            $url         = ArrayHelper::removeValue($options, 'href', '#');
            $htmlOptions = ArrayHelper::removeValue($options, 'options', array());
            echo \CHtml::openTag('li', $htmlOptions);
            echo \CHtml::link($label, $url);
            echo \CHtml::closeTag('li');
        } else {
            $htmlOptions = ArrayHelper::removeValue($options, 'options', array());
            echo \CHtml::tag('a', array_merge($htmlOptions, $options), $label);
        }
    }
871459
protected function render($template, array $params = array(), array $options = array())
    {
        $renderer = $this->serviceLocator->get('templating');

        // Helpers
        if (isset($options['helpers'])) {
            foreach ($options['helpers'] as $helper) {
                $renderer->addHelper($helper);
            }
        }

        return $renderer->render($template, $params);
    }
665666
protected function renderElement(string $name, array $options = []) : string
    {
        return $this->config->getView()
            ->element($name, $options);
    }
309557
private function renderHtml($message, $options = [])
    {
        $html = Html::beginTag('div', $options);
        $html .= '<div class="card-panel">';
        $html .= $message;
        $html .= '</div>';
        $html .= Html::endTag('div');

        return $html;
    }
600944
public function render($html = null) {
		$separator = $this->getSeparator();
		$result    = '';
		
		if ($this->_colgroup !== null) {
			$result .= $separator . $this->_colgroup->render();
		}
		
		if ($this->_head !== null) {
			$result .= $separator . $this->_head->render();
		}
		
		if ($this->_body !== null) {
			$result .= $separator . $this->_body->render();
		}
		
		if ($this->_foot !== null) {
			$result .= $separator . $this->_foot->render();
		}
		
		return parent::render($result . $separator);
	}
1052070
public function render(array $options, $name, $selected = array(), array $attrs = array(), $tpl = false)
    {
        $output = array();
        $this->_setTpl($tpl);

        foreach ($options as $value => $label) {
            $label = trim($label);
            $id    = Str::unique($this->_type . '-');
            $value = $this->_cleanValue($value);
            $text  = $this->_translate($label);
            $attrs = $this->_checkedOptions($value, $selected, $attrs);

            $output[] = $this->_elementTpl($name, $value, $id, $text, $attrs);
        }

        return implode(PHP_EOL, $output);
    }
492829
public function render($youtube, array $options = array()) {
        $this->_setDefaultAttribs($options);

        $_attribs = $options['attribs'];
        $_attribs['width'] = $options['width'];
        $_attribs['height'] = $options['height'];
        $_attribs['frameborder'] = '0';
        $_attribs['allowfullscreen'] = 'allowfullscreen';

        // unset the parameters that are not part of the query string
        unset($options['width']);
        unset($options['height']);
        unset($options['attribs']);

        // create the YouTube URL
        $youtubeUrl = $this->getPlayerUrl($youtube, $options);
        $_attribs['src'] = $youtubeUrl;

        $html = '<iframe' . $this->_htmlAttribs($_attribs) . '></iframe>';
        return $html;
    }
695362
public function HTMLToPDF($html, GrabzItPDFOptions $options = null)
	{
		if ($options == null)
		{
			$options = new GrabzItPDFOptions();			
		}

		$this->request = new GrabzItRequest($this->getRootUrl(true) . GrabzItClient::TakePDF, true, $options, $html);
	}
1269313
public function html2text($html, $options = array())
    {
        $default_options = array(
            'links'   => true,
            'width'   => 75,
            'body'    => $html,
            'charset' => RCUBE_CHARSET,
        );

        $options = array_merge($default_options, (array) $options);

        // Plugins may want to modify HTML in another/additional way
        $options = $this->plugins->exec_hook('html2text', $options);

        // Convert to text
        if (!$options['abort']) {
            $converter = new rcube_html2text($options['body'],
                false, $options['links'], $options['width'], $options['charset']);

            $options['body'] = rtrim($converter->get_text());
        }

        return $options['body'];
    }
74681
public function formRender($options = [])
    {
        if (!$this->formWidget) {
            throw new ApplicationException(Lang::get('backend::lang.form.behavior_not_ready'));
        }

        return $this->formWidget->render($options);
    }
1112176
public function render($options = array())
    {
        $pattern = $options['pattern'];
        $data = $options['data'];

        return $this->renderTpl($pattern, $data);
    }
154192
public static function render($options)
    {
        $jsExpressions = array();
        //Replace any js expression with random strings so we can switch
        //them back after json_encode the options
        $options = static::_replaceJsExpr($options, $jsExpressions);

        //TODO: Check for encoding errors
        $result = json_encode($options);

        //Replace any js expression on the json_encoded string
        foreach ($jsExpressions as $key => $expr) {
            $result = str_replace('"' . $key . '"', $expr, $result);
        }
        return $result;
    }
2236
public static function get($options = array())
    {
        if (!isset(self::$_instances[md5(serialize($options))])) {
            return new HTML($options);
        }

        return self::$_instances[md5(serialize($options))];
    }
1278334
public function display($content, $options = [])
    {
        $formData = $this->_defaultData($content);
        $view = !empty($options['view']) ? $options['view'] : $formData->template;
        return FormWrap::view($this->_block, $options, $this->displayView($view), ['form_data' => $formData]);
    }
1062520
public function render($html = null) {
		$separator = $this->getSeparator();
		$result    = '';
		
		foreach ($this->getElements() as $element) {
			$result .= $separator . $element->render();
		}
		
		return parent::render($result . $separator);
	}
1296454
public function renderAjax($panels = false)
    {
        $haspanels = false;
        if (is_array($this->_ajax)) {
            foreach ($this->_ajax as $item) {
                $component = $this->getComponent($item);

                if ($component instanceof Panel) {
                    $haspanels = true;                 
                    if ($panels == true) {
                        $responseJS = $component->AjaxAnswer();
                        WebApplication::$app->getResponse()->addAjaxResponse($responseJS);
                        continue;
                    }
                }

                if ($component instanceof AjaxRender) {
                    if ($component instanceof Panel) {
                        continue;
                    }
                    $responseJS = $component->AjaxAnswer();
                    WebApplication::$app->getResponse()->addAjaxResponse($responseJS);
                }
            }
            
           return  $haspanels ;
        }
    }