2
Magento 및 Zend 프레임 워크의 초보자입니다. 다음은 두 가지 예에 Mage_Customer_AccountController :_redirect ('*/* /')와 _redirect ('*/*')의 차이
라인 (127)
public function loginPostAction(){
if ($this->_getSession()->isLoggedIn()) {
$this->_redirect('*/*/');
return;
}
라인 230
public function createAction()
{
if ($this->_getSession()->isLoggedIn()) {
$this->_redirect('*/*');
return;
}
어떤 차이 두 _redirect() 될 것인가?
'*/* /'는 $ this -> _ redirect ('*/* /')에서 무엇을 할 수 있습니까? – Muk