你好我有这句话
$g->addButton('')->set('NEW ACTIVITY')->js('click')->univ()->redirect('newactivity');
是否可以调用“重定向”方法并通过 $_GET 传递参数?所以在页面“newactivity”中我可以要求 $_GET['something'] ?
像这样的东西
$g->addButton('')->set('NEW ACTIVITY')->js('click')->univ()->redirect('newactivity?id=1'); (this doesn't work)
or
$g->addButton('')->set('NEW ACTIVITY')->js('click')->univ()->redirect('newactivity','id=1');
谢谢