更新时间:2022-12-11 15:32:48
此代码用于在joomla管理员中创建自定义按钮.此代码将创建保存,当有人单击此按钮时,它将调用在中定义的masterslavesync函数控制器.如果您要检查此内容,只需创建一个
This code is used to create custom button in the joomla admin.This code will create a save and when someone click on this button it will call masterslavesync function defined in the controller. if you want to check this just create a
public function masterslavesync()
{
echo 'I am here';
die;
}
如果文本正确地回显,那么一切都很好....希望这将帮助您理解控制流.您还可以参考 http://docs.joomla.org/How_to_create_a_custom_button
if the text is echo properly then everything is fine....Hopefully this will help you to understand to control flow. you can also refer this http://docs.joomla.org/How_to_create_a_custom_button