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

Class: AppController

Source Location: /app/AppController.php

Class Overview

Controller
   |
   --AppController

アプリケーション側のコントローラーのサンプルです.


Author(s):

  • T.Okumura

Version:

  • 1.0.0

Methods


Inherited Variables

Inherited Methods

Class: Controller

Controller::__construct()
コンストラクタ.
Controller::configure()
設定クラスをセットします.
Controller::dispatch()
index.phpからコールされるエントリポイントです.
Controller::render()
Actionクラスの結果からViewクラスを実行します.
Controller::sqlExceptionHandler()
データベースエラーが発生した場合にコールされます.
Controller::systemExceptionHandler()
システムエラーが発生した場合にコールされます.

Class Details

[line 19]
アプリケーション側のコントローラーのサンプルです.



Tags:

author:  T.Okumura
version:  1.0.0
final:  


[ Top ]


Class Methods


method configure [line 28]

void configure( )

アプリケーション独自の設定ファイルを読み込ませます。

ここで設定しなかったクラスについては、 フレームワークのデフォルト設定が使用されます。




Tags:

see:  Controller::configure()
access:  protected


Overrides Controller::configure() (設定クラスをセットします.)

[ Top ]

method sqlExceptionHandler [line 57]

void sqlExceptionHandler( )

データベースエラーが発生した場合の処理を拡張します.



Tags:

see:  Controller::sqlExceptionHandler()
access:  protected


Overrides Controller::sqlExceptionHandler() (データベースエラーが発生した場合にコールされます.)

[ Top ]

method systemExceptionHandler [line 51]

void systemExceptionHandler( )

システムエラーが発生した場合の処理を拡張します.



Tags:

see:  Controller::systemExceptionHandler()
access:  protected


Overrides Controller::systemExceptionHandler() (システムエラーが発生した場合にコールされます.)

[ Top ]


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