- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/tests/class/replace/SC_Response_Ex.php
r22567 r22796 4 4 * テスト用にexitしないSC_Responseクラスです。 5 5 */ 6 class SC_Response_Ex extends SC_Response 7 { 6 class SC_Response_Ex extends SC_Response { 8 7 9 8 /** exitしたかどうかを保持するフラグ */ … … 15 14 * SC_Response::actionExit()をラップし、PHPをexitさせないようにします。 16 15 */ 17 function actionExit() 18 { 16 function actionExit() { 19 17 $this->exited = TRUE; 20 18 } … … 24 22 * また、リダイレクト先のパスを取得できるようにします。 25 23 */ 26 function sendRedirect($location, $arrQueryString = array(), $inheritQuerySring = false, $useSsl = null) 27 { 24 function sendRedirect($location, $arrQueryString = array(), $inheritQuerySring = false, $useSsl = null) { 28 25 $this->exited = TRUE; 29 26 $this->redirectPath = $location; … … 33 30 * actionExit()が呼ばれたかどうかを取得します。 34 31 */ 35 public function isExited() 36 { 32 public function isExited() { 37 33 return $this->exited; 38 34 } … … 41 37 * sendRedirect()で指定されたパスを取得します。 42 38 */ 43 public function getRedirectPath() 44 { 39 public function getRedirectPath() { 45 40 return $this->redirectPath; 46 41 }
Note: See TracChangeset
for help on using the changeset viewer.