2012-01-30 5 views
1
>  return $this->_prepareDownloadResponse(
>   'invoice'.Mage::getSingleton('core/date')->date('Y-m-d_H-i-s').'.pdf', 
> $pdf->render(),   'application/pdf' 

_prepareDownloadResponse 후에도 페이지를 리디렉션하거나 새로 고칠 수 있습니까?Magento redirect after _prepareDownloadRespons

+0

작동 여부는 확실하지 않습니다. return을 제거하고이 줄을 아래에 추가하십시오 $ this -> _ prepareDownloadResponse .......... return $ this -> _ redirect ('*/* /'); – Aboodred1

+0

내가 생각하기에 나는 이것을 시도했다. 문제는 _prepareDownloadResponse –

+0

확인에 의해 생성 된 다운로드 (이미)에 대한 연결 및 응답 코드의 끝에 있습니다. 작동하지 않는, 다른 좋은 아이디어 ??? –

답변

1

현재로서는 불가능합니다.