[Maple-dev: 58] Re: インジェクションの簡素化

Back to archive index

bobchin bobchin_ryu****@bb*****
2005年 10月 16日 (日) 22:58:03 JST


 市橋です。

 理解力足りなくて申し訳ありませんが、念のため確認です。

 1.DIContainerによるインジェクション
 2.InjectRequestによるインジェクション
 3.Actionによる設定ファイル値のインジェクション
 4.Actionによるリクエストパラメータのインジェクション

 は、

 1はDIコンテナ内のオブジェクト -> アクションのプロパティ
 2はリクエストパラメータ    -> DIコンテナ内のクラスのプロパティ
 3はmaple.iniの中身       -> アクションのプロパティ
 4はリクエストパラメータ    -> アクションのプロパティ

 ってことで認識で合ってますか?

On Sun, 16 Oct 2005 22:33:42 +0900
Hawk <w3l_admin****@hawk*****> wrote:

> DIContainerによるインジェクション:
>   setAttributes2($instance,$attributes, true, true, array())
> 
> InjectRequestによるインジェクション:
>   setAttributes2($instance,$attributes, true, true, array(null))
> 
> Actionによる設定ファイル値のインジェクション:
>   setAttributes2($instance,$attributes, true, true, array())
> 
> Actionによるリクエストパラメータのインジェクション:
>   setAttributes2($instance,$attributes, true, true, array(null))

-- 
 ┏━┳━┳━┳━┳┳┳━┳┳┓
 ┃┃┃┃┃┃┃┏┫┃┃  ┃  ┃
 ┃  ┫┃┃  ┫┃┃━┃  ┃╋┃
 ┃┃┃┃┃┃┃┗┫┃┃  ┃  ┃
 ┗━┻━┻━┻━┻┻┻━┻┻┛
bobchin <bobchin_ryu****@bb*****>
Wiki http://bobchin.ddo.jp/wiki/
Diary http://d.hatena.ne.jp/bobchin/




Maple-dev メーリングリストの案内
Back to archive index