Skip to content

Instantly share code, notes, and snippets.

@apipkin
Created May 28, 2010 01:35
Show Gist options
  • Save apipkin/416622 to your computer and use it in GitHub Desktop.
Save apipkin/416622 to your computer and use it in GitHub Desktop.
<?php
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
protected function _initAutoloader()
{
$loader = new Zend_Application_Module_Autoloader(array(
'namespace' => 'Application',
'basePath' => dirname(__FILE__)
));
Zend_Debug::dump($loader);exit;
return $loader;
}
}
object(Zend_Application_Module_Autoloader)#20 (5) {
["_basePath":protected] => string(49) "C:\cygwin\home\Blackstart\Echofin\cms\application"
["_components":protected] => array(7) {
["Application_Model_DbTable"] => string(64) "C:\cygwin\home\Blackstart\Echofin\cms\application/models/DbTable"
["Application_Form"] => string(55) "C:\cygwin\home\Blackstart\Echofin\cms\application/forms"
["Application_Model"] => string(56) "C:\cygwin\home\Blackstart\Echofin\cms\application/models"
["Application_Plugin"] => string(57) "C:\cygwin\home\Blackstart\Echofin\cms\application/plugins"
["Application_Service"] => string(58) "C:\cygwin\home\Blackstart\Echofin\cms\application/services"
["Application_View_Helper"] => string(63) "C:\cygwin\home\Blackstart\Echofin\cms\application/views/helpers"
["Application_View_Filter"] => string(63) "C:\cygwin\home\Blackstart\Echofin\cms\application/views/filters"
}
["_defaultResourceType":protected] => string(5) "model"
["_namespace":protected] => string(11) "Application"
["_resourceTypes":protected] => array(7) {
["dbtable"] => array(2) {
["namespace"] => string(25) "Application_Model_DbTable"
["path"] => string(64) "C:\cygwin\home\Blackstart\Echofin\cms\application/models/DbTable"
}
["form"] => array(2) {
["namespace"] => string(16) "Application_Form"
["path"] => string(55) "C:\cygwin\home\Blackstart\Echofin\cms\application/forms"
}
["model"] => array(2) {
["namespace"] => string(17) "Application_Model"
["path"] => string(56) "C:\cygwin\home\Blackstart\Echofin\cms\application/models"
}
["plugin"] => array(2) {
["namespace"] => string(18) "Application_Plugin"
["path"] => string(57) "C:\cygwin\home\Blackstart\Echofin\cms\application/plugins"
}
["service"] => array(2) {
["namespace"] => string(19) "Application_Service"
["path"] => string(58) "C:\cygwin\home\Blackstart\Echofin\cms\application/services"
}
["viewhelper"] => array(2) {
["namespace"] => string(23) "Application_View_Helper"
["path"] => string(63) "C:\cygwin\home\Blackstart\Echofin\cms\application/views/helpers"
}
["viewfilter"] => array(2) {
["namespace"] => string(23) "Application_View_Filter"
["path"] => string(63) "C:\cygwin\home\Blackstart\Echofin\cms\application/views/filters"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment