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