<?php
/**
 * ------------------------ 
 *  版权所有  www.tecmz.com
 *  商业版本请购买正版授权使用
 * ------------------------
*/ namespace Module\Vendor\Provider\RichContent; use Illuminate\Support\Facades\View; use ModStart\Core\Util\HtmlUtil; use Module\Vendor\Html\HtmlConvertUtil; class UEditorRichContentProvider extends AbstractRichContentProvider { const NAME = 'htmlUEditor'; public function name() { return self::NAME; } public function title() { return 'UEditor富文本'; } public function render($SeTC_, $sKrwM, $mzzZ3 = array()) { return View::make('module::Vendor.View.widget.richContent.htmlUeditor', array('name' => $SeTC_, 'value' => $sKrwM, 'param' => $mzzZ3))->render(); } public function toHtml($sKrwM, $etjv4 = null) { $sKrwM = HtmlUtil::filter($sKrwM); return parent::toHtml($sKrwM, $etjv4); } }