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