我正在学习本教程,为Joomla 3. 最后完成Joomla 3课编写一个组件。我正在忙的部分是开发MVC组件/添加配置。所以我看了一下Registry::loadJSON(),但是它使用了一个叫做2.5教程的不推荐的函数
在哪里可以找到使用什么的信息?(我搜索了很多,但找不到任何信息)。
发布于 2014-09-18 07:51:53
在评论中脸红
// loadJSON is @deprecated 12.1 Use loadString passing JSON as the format instead.
//$params->loadString($this->item->params, 'JSON');唯一瘦的是$This->item>params应该是$this->params (这也在注释中)。
https://stackoverflow.com/questions/25866771
复制相似问题