還沒想到
2011年6月20日 星期一
在不同的地方呼叫UserId
●在
action
裡
$this->getUser()->getUserId();
●在
success
裡
$sf_user->getUserId();
●在
form
裡
sfContext::getInstance()->getUser()->getUserId();
沒有留言:
張貼留言
較新的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言