Class Ethna_Plugin

Description

プラグインクラス

Located in /class/Ethna_Plugin.php (line 22)


	
			
Method Summary
 static void includeEthnaPlugin (string $type, string $name)
 static void includePlugin (string $type, string $name, [string $appid = null])
 Ethna_Plugin Ethna_Plugin ( &$controller, object Ethna_Controller $controller)
 object プラグインのインスタンス &getPlugin (string $type, string $name)
 array getPluginList (string $type)
 array getPluginNaming (string $type, string $name, string $appid)
 void searchAllPluginSrc (string $type)
 void setLogger ( &$logger, object Ethna_Logger $logger)
Methods
static includeEthnaPlugin (line 438)

Ethna 本体付属のプラグインのソースを include する

  • access: public
void includeEthnaPlugin (string $type, string $name)
  • string $type: プラグインの種類
  • string $name: プラグインの名前
static includePlugin (line 452)

プラグインのソースを include する

  • access: public
void includePlugin (string $type, string $name, [string $appid = null])
  • string $type: プラグインの種類
  • string $name: プラグインの名前
  • string $appid: アプリケーションID
Constructor Ethna_Plugin (line 55)

Ethna_Pluginのコンストラクタ

  • access: public
Ethna_Plugin Ethna_Plugin ( &$controller, object Ethna_Controller $controller)
getPlugin (line 94)

プラグインのインスタンスを取得

  • access: public
object プラグインのインスタンス &getPlugin (string $type, string $name)
  • string $type: プラグインの種類
  • string $name: プラグインの名前
getPluginList (line 106)

ある種類 ($type) のプラグイン ($name) の全リストを取得

  • return: プラグインオブジェクトの配列
  • access: public
array getPluginList (string $type)
  • string $type: プラグインの種類
getPluginNaming (line 244)

プラグインのクラス名、ディレクトリ、ファイル名を決定

  • return: プラグインのクラス名、ディレクトリ、ファイル名の配列
  • todo: class factoryのnaming ruleと整合させる
  • access: public
array getPluginNaming (string $type, string $name, string $appid)
  • string $type: プラグインの種類
  • string $name: プラグインの名前 (nullのときは親クラス)
  • string $appid: アプリケーションID
searchAllPluginSrc (line 386)

指定された $type のプラグイン (のソース) をすべて検索する

  • access: public
void searchAllPluginSrc (string $type)
  • string $type: プラグインの種類
searchAllPluginType (line 358)

プラグインの種類 ($type) をすべて検索する

  • access: public
array searchAllPluginType ()
setLogger (line 77)

loggerをsetする。

LogWriterはpluginなので、pluginインスタンス作成時点では loggerに依存しないようにする。

  • access: public
void setLogger ( &$logger, object Ethna_Logger $logger)

Documentation generated on Fri, 11 Nov 2011 04:00:02 +0900 by phpDocumentor 1.4.3