application
|-Payment
| | +--Item
| | +---Footer.php
| +--Manager.php
|-Boostrap.php
在 application/Boostrap.php 我想像这样初始化支付模块:
protected function _initPaymentManager()
{
$manager = Payment_Manager::getInstance();
$manager->registerHandler(new Payment_Item_Footer());
}
但是框架还没有加载支付模块。如何在 application/Bootstrap.php 中调用 Payment 模块中的类?