时间:2021-07-01 10:21:17 帮助过:161人阅读
使用
public function settingsDisplay($settings)
{
global $_W, $_GPC;
'if (checksubmit())
{
$dat = array('title' => $_GPC['title'], 'info' =>
$_GPC['info'], 'shareimg' => $_GPC['shareimg']);
$this->saveSettings($dat);
message('保存成功', 'refresh');
} include $this->template('setting');
}调用:
$title = $this->module['config']['title']; $txt = $this->module['config']['info'];
相关推荐:
zf2 module.php中实现redirect
以上就是module.php微擎开发详解的详细内容,更多请关注Gxl网其它相关文章!