magic-core
[ class tree: magic-core ] [ index: magic-core ] [ all elements ]

Class: ActionResult

Source Location: /core/helper/action/ActionResult.php

Class Overview


Actionクラスの実行結果クラスです.


Author(s):

  • T.Okumura

Version:

  • 1.0.0

Variables

Methods


Child classes:

Direct
レンダリングを実行しない場合に使用するクラスです.
Forward
フォワード処理を実行します.
Redirect
リダイレクト処理を実行します.
SessionForward
セッション付きのフォワード処理を実行します.
SessionRedirect
リダイレクト処理を実行します.

Class Details

[line 19]
Actionクラスの実行結果クラスです.

アプリケーションのActionクラスは、必ずこのクラスを 継承したクラスを返す必要があります。




Tags:

author:  T.Okumura
version:  1.0.0
abstract:  


[ Top ]


Class Variables

$_response =  NULL

[line 24]

HttpResponseクラスを保持します.



Tags:

access:  protected

Type:   HttpResponse


[ Top ]

$_session =  NULL

[line 29]

HttpSessionクラスを保持します.



Tags:

access:  protected

Type:   HttpSession


[ Top ]



Class Methods


method execute [line 67]

void execute( NameConfigure $name, PathConfigure $path, RouteConfigure $route)

Viewクラスを実行します.

Viewクラスを実行しない場合もあります。




Tags:

abstract:  
access:  public


Overridden in child classes as:

Direct::execute()
処理を終了します.
Forward::execute()
ViewクラスのView::forward()を実行します.
Redirect::execute()
ViewクラスのView::redirect()を実行します.
SessionForward::execute()
ViewクラスのView::forward()を実行します.
SessionRedirect::execute()
ViewクラスのView::redirect()を実行します.

Parameters:

NameConfigure   $name   命名規則設定クラス
PathConfigure   $path   パス設定クラス
RouteConfigure   $route   ルート設定クラス

[ Top ]

method getResponse [line 41]

HttpResponse getResponse( )

HttpResponseクラスを取得します.



Tags:

access:  public


[ Top ]

method getSession [line 55]

HttpSession getSession( )

HttpSessionクラスを取得します.



Tags:

access:  public


[ Top ]

method setResponse [line 34]

void setResponse( HttpResponse $response)

HttpResponseクラスを設定します.



Tags:

access:  public


Parameters:

HttpResponse   $response   HttpResponseクラス

[ Top ]

method setSession [line 48]

void setSession( HttpSession $session, HttpSession $response)

HttpSessionクラスを設定します.



Tags:

access:  public


Parameters:

HttpSession   $response   HttpSessionクラス
HttpSession   $session  

[ Top ]


Documentation generated on Fri, 16 Dec 2011 11:13:41 +0100 by phpDocumentor 1.4.3