Class Ethna_Backend

Description

バックエンド処理クラス

Located in /class/Ethna_Backend.php (line 20)


	
			
Method Summary
 Ethna_Backend Ethna_Backend (object Ethna_Controller &$controller)
 mixed &getActionClass ()
 string getAppId ()
 string getBasedir ()
 mixed &getDB ([string $db_key = ""])
 mixed getDBList ()
 string getEtcdir ()
 object Ethna_AppManager &getManager ( $type, [ $weak = false])
 mixed &getObject ( $key)
 string getTemplatedir ()
 string getTemplateext ()
 string getTmpdir ()
 void log (int $level, string $message)
 mixed perform (string $action_name)
 void setActionClass ( &$action_class)
 void setActionForm ( &$action_form)
 void shutdownDB ()
Methods
Constructor Ethna_Backend (line 80)

Ethna_Backendクラスのコンストラクタ

  • access: public
Ethna_Backend Ethna_Backend (object Ethna_Controller &$controller)
getActionClass (line 187)

実行中のアクションクラスオブジェクトのアクセサ(R)

  • return: Ethna_ActionClass:アクションクラス null:アクションクラス未定
  • access: public
mixed &getActionClass ()
getActionError (line 154)

アクションエラーオブジェクトのアクセサ(R)

  • return: アクションエラーオブジェクト
  • access: public
object Ethna_ActionError &getActionError ()
getActionForm (line 165)

アクションフォームオブジェクトのアクセサ(R)

  • return: アクションフォームオブジェクト
  • access: public
object Ethna_ActionForm &getActionForm ()
getAppId (line 132)

アプリケーションIDを返す

  • return: アプリケーションID
  • access: public
string getAppId ()
getBasedir (line 268)

アプリケーションのベースディレクトリを取得する

  • return: ベースディレクトリのパス名
  • access: public
string getBasedir ()
getConfig (line 121)

設定オブジェクトへのアクセサ(R)

  • return: 設定オブジェクト
  • access: public
object Ethna_Config &getConfig ()
getController (line 110)

controllerオブジェクトへのアクセサ(R)

  • return: controllerオブジェクト
  • access: public
object Ethna_Controller &getController ()
getDB (line 377)

DBオブジェクトを返す

  • return: Ethna_DB:DBオブジェクト null:DSN設定なし Ethna_Error:エラー
  • todo: この中でnewしないでclass factoryを利用する
  • access: public
mixed &getDB ([string $db_key = ""])
  • string $db_key: DBキー
getDBList (line 428)

DBオブジェクト(全て)を取得する

  • return: array:Ethna_DBオブジェクトの一覧 Ethan_Error:(いずれか一つ以上の接続で)エラー
  • access: public
mixed getDBList ()
getEtcdir (line 290)

アプリケーションの設定ディレクトリを取得する

  • return: 設定ディレクトリのパス名
  • access: public
string getEtcdir ()
getI18N (line 143)

I18Nオブジェクトのアクセサ(R)

  • return: i18nオブジェクト
  • access: public
object Ethna_I18N &getI18N ()
getLogger (line 209)

ログオブジェクトのアクセサ(R)

  • return: ログオブジェクト
  • access: public
object Ethna_Logger &getLogger ()
getManager (line 242)

マネージャオブジェクトへのアクセサ(R)

  • return: マネージャオブジェクト
  • access: public
object Ethna_AppManager &getManager ( $type, [ $weak = false])
  • $type
  • $weak
getObject (line 254)

オブジェクトへのアクセサ(R)

  • return: null)
  • access: public
mixed &getObject ( $key)
  • $key
getPlugin (line 231)

プラグインオブジェクトのアクセサ(R)

  • return: プラグインオブジェクト
  • access: public
object Ethna_Plugin &getPlugin ()
getSession (line 220)

セッションオブジェクトのアクセサ(R)

  • return: セッションオブジェクト
  • access: public
object Ethna_Session &getSession ()
getTemplatedir (line 279)

アプリケーションのテンプレートディレクトリを取得する

  • return: テンプレートディレクトリのパス名
  • access: public
string getTemplatedir ()
getTemplateext (line 312)

アプリケーションのテンプレートファイル拡張子を取得する

  • return: テンプレートファイルの拡張子
  • access: public
string getTemplateext ()
getTmpdir (line 301)

アプリケーションのテンポラリディレクトリを取得する

  • return: テンポラリディレクトリのパス名
  • access: public
string getTmpdir ()
log (line 324)

ログを出力する

  • access: public
void log (int $level, string $message)
  • int $level: ログレベル(LOG_DEBUG, LOG_NOTICE...)
  • string $message: ログメッセージ(printf形式)
perform (line 341)

バックエンド処理を実行する

  • return: (string):Forward名(nullならforwardしない) Ethna_Error:エラー
  • access: public
mixed perform (string $action_name)
  • string $action_name: 実行するアクションの名称
setActionClass (line 197)

実行中のアクションクラスオブジェクトのアクセサ(W)

  • access: public
void setActionClass ( &$action_class)
  • &$action_class
setActionForm (line 175)

アクションフォームオブジェクトのアクセサ(W)

  • access: public
void setActionForm ( &$action_form)
  • &$action_form
shutdownDB (line 455)

DBコネクションを切断する

  • access: public
void shutdownDB ()

Documentation generated on Fri, 11 Nov 2011 03:59:22 +0900 by phpDocumentor 1.4.3