예제 #1
0
* <p>Classes that this file imports to scope are at least SomeRequest and SomeFactory.<br />
* This file also initialized someloader() function that is used to get more classes to scope.
* </p>
* @package wo2009
* @subpackage library
*/
/**
*
*/
if (!class_exists('SomeLoader')) {
    require_once SOME_LIBRARY . DS . 'loader.php';
}
SomeLoader::register('JFilterInput', SOME_LIBRARY . DS . 'some' . DS . 'filter' . DS . 'filterinput.php');
//Environment classes
SomeLoader::import('some.environment.request');
SomeRequest::clean();
SomeLoader::import('some.environment.response');
SomeLoader::import('some.factory');
SomeLoader::import('some.user.user');
//register exception classes
SomeLoader::register('SomeFrameworkException', SOME_LIBRARY . DS . 'some' . DS . 'exception' . DS . 'frameworkexception.php');
SomeLoader::register('SomeDatabaseException', SOME_LIBRARY . DS . 'some' . DS . 'exception' . DS . 'databaseexception.php');
SomeLoader::register('SomeFileNotFoundException', SOME_LIBRARY . DS . 'some' . DS . 'exception' . DS . 'filenotfoundexception.php');
SomeLoader::register('SomeClassNotFoundException', SOME_LIBRARY . DS . 'some' . DS . 'exception' . DS . 'classnotfoundexception.php');
//class SomeText
/**
* class to help translations of strings.
* @package wo2009
*/
class SomeText
{