当前位置:Gxlcms > PHP教程 > Joomla调用系统自带编辑器的实现方法_PHP

Joomla调用系统自带编辑器的实现方法_PHP

时间:2021-07-01 10:21:17 帮助过:3人阅读

Joomla

本文实例讲述了Joomla调用系统自带编辑器的方法。分享给大家供大家参考,具体如下:

调用Joomla系统带的编辑器:

路径: /libraries/joomla/html/editor.php

类:JEditor

函数: void display( string $name, string $html, string $width, string $height, int $col, int $row, [boolean $buttons = true], [string $id = null], [string $asset = null], [object $author = null], [array $params = array()])

参数说明:

代码如下:

echo $editor->display('控件name值','内容','宽','高','列数','行数',true, '控件id值');

更多关于joomla相关内容感兴趣的读者可查看本站专题:《Symfony框架入门教程》、《Yii框架入门及常用技巧总结》、《php优秀开发框架总结》、《smarty模板入门基础教程》、《ThinkPHP常用方法总结》、《php面向对象程序设计入门教程》、《php字符串(string)用法总结》、《php+mysql数据库操作入门教程》及《php常见数据库操作技巧汇总》

希望本文所述对大家基于joomla程序设计有所帮助。

人气教程排行