更新时间:2023-11-19 18:58:46
JParameter
在 Joomla 3.0 中被删除,现在是 JForm
或在大多数情况下 JRegistry
应该使用.
JParameter
was removed in Joomla 3.0 and now either JForm
or in most cases JRegistry
should be used.
所以使用下面的代码,并根据自己的需要进行更改
So use the following code, and change to suit your own needs
$jparams = new JRegistry();
$variable = $jparams->get('param_name');