更新时间:2023-11-19 19:11:22
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');