還沒想到
顯示具有
symfony
標籤的文章。
顯示所有文章
顯示具有
symfony
標籤的文章。
顯示所有文章
2011年6月20日 星期一
在不同的地方呼叫UserId
●在
action
裡
$this->getUser()->getUserId();
●在
success
裡
$sf_user->getUserId();
●在
form
裡
sfContext::getInstance()->getUser()->getUserId();
首頁
訂閱:
文章 (Atom)