Inherited Variables
Inherited Constants
Inherited Methods
Class Details
DIコンテナ
[ Top ]
Class Variables
$log
[ Top ]
$_components = array()
[ Top ]
$_dicon = array()
[ Top ]
Class Methods
static getInstance
static Teeple_Container getInstance(
)
[line 56]
ContainerのSingletonインスタンスを取得します。
Tags:
- access - public
Parameters:
[ Top ]
__construct
[ Top ]
getComponent
Object getComponent(
string
$name)
[line 118]
Componentのインスタンスを取得します。 (RequestスコープのComponent)
Tags:
- return - Componentのインスタンス
- access - public
Parameters:
- string $name - Component名
[ Top ]
getEntity
Teeple_ActiveRecord getEntity(
string
$name)
[line 170]
Teeple_ActiveRecordのエンティティを取得します。 DefaultTxから取得されます。
Tags:
- access - public
Parameters:
- string $name -
[ Top ]
getPrototype
Object getPrototype(
string
$name)
[line 159]
prototypeのComponentを取得します。
Tags:
- access - public
Parameters:
- string $name -
[ Top ]
getSessionComponent
Object getSessionComponent(
string
$name)
[line 136]
SessionスコープのComponentを取得します。
Tags:
- access - public
Parameters:
- string $name -
[ Top ]
register
void register(
string
$name, Object
$component)
[line 102]
ContainerにComponentのインスタンスをセット
Tags:
- access - public
Parameters:
- string $name - Component名
- Object $component - Componentのインスタンス
[ Top ]
setup
void setup(
string
$configfile)
[line 79]
コンテナをセットアップします。
Tags:
- access - public
Parameters:
- string $configfile -
[ Top ]
Class Constants
SESSION_KEY = '__SESSION_COMPONENTS'
[line 26]
[ Top ]