Ignore:
Timestamp:
2013/05/02 18:11:36 (11 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/tests/class/replace/SC_Response_Ex.php

    r22567 r22796  
    44 * テスト用にexitしないSC_Responseクラスです。 
    55 */ 
    6 class SC_Response_Ex extends SC_Response 
    7 { 
     6class SC_Response_Ex extends SC_Response { 
    87 
    98  /** exitしたかどうかを保持するフラグ */ 
     
    1514   * SC_Response::actionExit()をラップし、PHPをexitさせないようにします。 
    1615   */ 
    17   function actionExit() 
    18   { 
     16  function actionExit() { 
    1917    $this->exited = TRUE; 
    2018  } 
     
    2422   * また、リダイレクト先のパスを取得できるようにします。 
    2523   */ 
    26   function sendRedirect($location, $arrQueryString = array(), $inheritQuerySring = false, $useSsl = null) 
    27   { 
     24  function sendRedirect($location, $arrQueryString = array(), $inheritQuerySring = false, $useSsl = null) { 
    2825    $this->exited = TRUE; 
    2926    $this->redirectPath = $location; 
     
    3330   * actionExit()が呼ばれたかどうかを取得します。 
    3431   */ 
    35   public function isExited() 
    36   { 
     32  public function isExited() { 
    3733    return $this->exited; 
    3834  } 
     
    4137   * sendRedirect()で指定されたパスを取得します。  
    4238   */ 
    43   public function getRedirectPath() 
    44   { 
     39  public function getRedirectPath() { 
    4540    return $this->redirectPath; 
    4641  } 
Note: See TracChangeset for help on using the changeset viewer.