Làm cách nào để lấy tham số mô-đun bên trong một thành phần trong Joomla 1.5? Tôi đang sử dụng mã này nhưng nó sẽ hiển thị một kết quả trống.cách chúng ta lấy tham số mô-đun trong chế độ xem thành phần trong joomla
jimport('joomla.application.module.helper');
$module = &JModuleHelper::getModule('mod_used_car_image');
$params = new JParameter($module->params);
print_r($params);
giá trị của $ module-> params là gì? Hãy thử var_dump ($ module-> params); –