<?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($TTiWe, $VRDYW, $quZRe = array()) { return View::make('module::Vendor.View.widget.richContent.htmlUeditor', array('name' => $TTiWe, 'value' => $VRDYW, 'param' => $quZRe))->render(); } public function toHtml($VRDYW, $Svc7V = null) { $VRDYW = HtmlUtil::filter($VRDYW); return parent::toHtml($VRDYW, $Svc7V); } }