Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php Joomla 3注册表::loadJSON_Php_Joomla_Joomla3.0 - Fatal编程技术网

Php Joomla 3注册表::loadJSON

Php Joomla 3注册表::loadJSON,php,joomla,joomla3.0,Php,Joomla,Joomla3.0,我正在完成教程,为Joomla 3编写一个组件。我现在忙的部分是。所以我看了一下,但是它使用了一个不推荐使用的函数,名为Registry::loadJSON() 我在哪里可以找到关于使用什么的信息?(我在谷歌上搜索了很多,但找不到任何信息)。脸红,这是在评论中 // loadJSON is @deprecated 12.1 Use loadString passing JSON as the format instead. //$params->loadString($this-&

我正在完成教程,为Joomla 3编写一个组件。我现在忙的部分是。所以我看了一下,但是它使用了一个不推荐使用的函数,名为Registry::loadJSON()

我在哪里可以找到关于使用什么的信息?(我在谷歌上搜索了很多,但找不到任何信息)。

脸红,这是在评论中

// loadJSON is @deprecated    12.1  Use loadString passing JSON as the format instead.
//$params->loadString($this->item->params, 'JSON');
唯一的限制是$this->item->params应该是$this->params(这也在注释中)