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

Class: RouteConfigureImpl

Source Location: /core/config/impl/RouteConfigureImpl.php

Class Overview


リクエストURLから呼び出すクラスを解決する、デフォルトの実装クラスです.


Author(s):

  • T.Okumura

Version:

  • 1.0.0

Implements interfaces:

Methods



Class Details

[line 18]
リクエストURLから呼び出すクラスを解決する、デフォルトの実装クラスです.

このクラスは必要な時にControllerによってロードされます。




Tags:

author:  T.Okumura
version:  1.0.0
final:  


[ Top ]


Class Methods


constructor __construct [line 29]

RouteConfigureImpl __construct( HttpRequest $request)

コンストラクタ.



Tags:

see:  HttpRequest
access:  public


Parameters:

HttpRequest   $request   HttpRequestクラス

[ Top ]

method getActionName [line 40]

void getActionName( )

Actionクラス名を取得する、デフォルトの設定です.

リクエストのクエリパラメータから、'action'をキーとした値を返します。
見つからない場合は、'Index'という文字列を返します。




Tags:

see:  RouteConfigure::getActionName()
access:  public



Implementation of:
RouteConfigure::getActionName()
コールするActionクラスの名前を取得します.
[ Top ]

method getMethodName [line 51]

void getMethodName( )

ファンクション名を取得する、デフォルトの設定です.

リクエストのクエリパラメータから、'target'をキーとした値を返します。
見つからない場合は、'index'という文字列を返します。




Tags:

see:  RouteConfigure::getMethodName()
access:  public



Implementation of:
RouteConfigure::getMethodName()
エントリポイントとなるファンクション名を取得します.
[ Top ]


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