public function __construct($application) { parent::__construct($application); date_default_timezone_set('UTC'); if (function_exists('mb_internal_encoding')) { mb_internal_encoding("UTF-8"); } if (function_exists('iconv_set_encoding')) { // Not sure if we want to do all of these iconv_set_encoding("input_encoding", "UTF-8"); iconv_set_encoding("output_encoding", "UTF-8"); iconv_set_encoding("internal_encoding", "UTF-8"); } }
/** * Sets the local copy of a module bootstrap * * @param Zend_Application_Module_Bootstrap $bootstrap * @return Engine_Api */ public function setModuleBootstrap(Khcn_Application_Bootstrap_Abstract $bootstrap) { $name = strtolower($bootstrap->getModuleName()); $this->_modules[$name] = $bootstrap; return $this; }