Changeset 386
- Timestamp:
- 03/15/07 19:32:20 (2 years ago)
- Files:
-
- trunk/src/main/php/net/stubbles/ipo/request/stubXmlRequestValueErrorFactory.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/rdbms/stubDatabaseInitializer.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/util/log/stubLoggerXJConfFactory.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/util/stubFactory.php (moved) (moved from trunk/src/main/php/net/stubbles/stubFactory.php) (2 diffs)
- trunk/src/main/php/net/stubbles/util/stubRegistryXJConfInitializer.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/websites/stubFrontController.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/websites/stubPageFactory.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/websites/stubXJConfPageFactory.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/websites/variantmanager/stubXJConfVariantFactory.php (modified) (1 diff)
- trunk/src/main/php/net/stubbles/websites/xml/stubXMLPostInterceptor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/ipo/request/stubXmlRequestValueErrorFactory.php
r312 r386 9 9 stubClassLoader::load('net.stubbles.ipo.request.stubRequestValueErrorFactory', 10 10 'net.stubbles.ipo.request.stubRequestValueErrorException', 11 'net.stubbles. stubFactory',11 'net.stubbles.util.stubFactory', 12 12 'net.stubbles.util.xjconf.xjconf' 13 13 ); trunk/src/main/php/net/stubbles/rdbms/stubDatabaseInitializer.php
r319 r386 7 7 * @subpackage rdbms 8 8 */ 9 stubClassLoader::load('net.stubbles. stubFactory',10 'net.stubbles. ipo.interceptors.stubPreInterceptor',9 stubClassLoader::load('net.stubbles.ipo.interceptors.stubPreInterceptor', 10 'net.stubbles.util.stubFactory', 11 11 'net.stubbles.util.xjconf.xjconf' 12 12 ); trunk/src/main/php/net/stubbles/util/log/stubLoggerXJConfFactory.php
r312 r386 7 7 * @subpackage util_log 8 8 */ 9 stubClassLoader::load('net.stubbles.util. xjconf.xjconf',10 'net.stubbles. stubFactory'9 stubClassLoader::load('net.stubbles.util.stubFactory', 10 'net.stubbles.util.xjconf.xjconf' 11 11 ); 12 12 /** trunk/src/main/php/net/stubbles/util/stubFactory.php
r303 r386 1 1 <?php 2 2 /** 3 * class that holds informations used throughout a bunch of other classes3 * Class that holds informations used throughout a bunch of other classes. 4 4 * 5 * @author Frank Kleine <mikey@stubbles.net> 6 * @package stubbles 5 * @author Frank Kleine <mikey@stubbles.net> 6 * @package stubbles 7 * @subpackage util 7 8 */ 8 9 /** 9 * class that holds informations used throughout a bunch of other classes10 * Class that holds informations used throughout a bunch of other classes. 10 11 * 11 12 * @static 12 * @package stubbles 13 * @package stubbles 14 * @subpackage util 13 15 */ 14 16 class stubFactory … … 22 24 23 25 /** 26 * static initializing 27 */ 28 public static function __static() 29 { 30 if (substr(__FILE__, 0, 7) == 'star://') { 31 self::$resourceURI = str_replace('net.stubbles.util.stubFactory', '', __FILE__); 32 } else { 33 self::$resourceURI = realpath(dirname(__FILE__) . '/../../../../resources') . DIRECTORY_SEPARATOR; 34 } 35 } 36 37 /** 24 38 * return the path to the resource files 25 39 * 26 * @param string $fileName the resource to load40 * @param string $fileName the resource to load 27 41 */ 28 42 public static function getResourceURI($fileName) 29 43 { 30 if (null == self::$resourceURI) {31 if (substr(__FILE__, 0, 7) == 'star://') {32 self::$resourceURI = str_replace('net.stubbles.stubFactory', '', __FILE__);33 } else {34 self::$resourceURI = realpath(dirname(__FILE__) . '/../../../resources') . DIRECTORY_SEPARATOR;35 }36 }37 38 44 return (self::$resourceURI . $fileName); 39 45 } trunk/src/main/php/net/stubbles/util/stubRegistryXJConfInitializer.php
r384 r386 7 7 * @subpackage util 8 8 */ 9 stubClassLoader::load('net.stubbles.util.stub RegistryInitializer',10 'net.stubbles. stubFactory',9 stubClassLoader::load('net.stubbles.util.stubFactory', 10 'net.stubbles.util.stubRegistryInitializer', 11 11 'net.stubbles.util.xjconf.xjconf' 12 12 ); trunk/src/main/php/net/stubbles/websites/stubFrontController.php
r385 r386 7 7 * @subpackage websites 8 8 */ 9 stubClassLoader::load('net.stubbles.stubFactory', 10 'net.stubbles.ioc.injection.injection', 9 stubClassLoader::load('net.stubbles.ioc.injection.injection', 11 10 'net.stubbles.ipo.interceptors.stubPostInterceptor', 12 11 'net.stubbles.ipo.interceptors.stubPreInterceptor', 13 12 'net.stubbles.ipo.request.stubRequest', 13 'net.stubbles.ipo.response.stubBaseResponse', 14 14 'net.stubbles.ipo.session.stubSession', 15 'net.stubbles.ipo.response.stubBaseResponse', 16 'net.stubbles.websites.processors.stubProcessorResolver', 15 'net.stubbles.util.stubFactory', 17 16 'net.stubbles.util.stubRegistry', 18 17 'net.stubbles.util.stubRegistryInitializer', 19 'net.stubbles.util.xjconf.xjconf' 18 'net.stubbles.util.xjconf.xjconf', 19 'net.stubbles.websites.processors.stubProcessorResolver' 20 20 ); 21 21 /** trunk/src/main/php/net/stubbles/websites/stubPageFactory.php
r366 r386 7 7 * @subpackage websites 8 8 */ 9 stubClassLoader::load('net.stubbles. stubFactory',9 stubClassLoader::load('net.stubbles.util.stubFactory', 10 10 'net.stubbles.util.xjconf.stubXJConfLoader', 11 11 'net.stubbles.websites.stubPage', trunk/src/main/php/net/stubbles/websites/stubXJConfPageFactory.php
r335 r386 7 7 * @subpackage websites 8 8 */ 9 stubClassLoader::load('net.stubbles. stubFactory',9 stubClassLoader::load('net.stubbles.util.stubFactory', 10 10 'net.stubbles.util.xjconf.xjconf', 11 11 'net.stubbles.websites.stubPageConfigurationException', 12 'net.stubbles.websites.stubPageFactory', 13 'net.stubbles.stubFactory' 12 'net.stubbles.websites.stubPageFactory' 14 13 ); 15 14 /** trunk/src/main/php/net/stubbles/websites/variantmanager/stubXJConfVariantFactory.php
r382 r386 8 8 * @subpackage websites_variantmanager 9 9 */ 10 stubClassLoader::load('net.stubbles. websites.variantmanager.stubAbstractVariantFactory',10 stubClassLoader::load('net.stubbles.util.stubFactory', 11 11 'net.stubbles.util.xjconf.xjconf', 12 'net.stubbles. stubFactory'12 'net.stubbles.websites.variantmanager.stubAbstractVariantFactory' 13 13 ); 14 14 /** trunk/src/main/php/net/stubbles/websites/xml/stubXMLPostInterceptor.php
r342 r386 10 10 'net.stubbles.ipo.response.stubResponse', 11 11 'net.stubbles.ipo.session.stubSession', 12 'net.stubbles.util.stubFactory', 12 13 'net.stubbles.util.stubRegistry', 13 14 'net.stubbles.xml.xsl.stubXSLProcessor', 14 15 'net.stubbles.xml.xsl.util.stubXSLImageDimensions', 15 16 'net.stubbles.xml.stubXMLXIncludeStreamWrapper', 16 'net.stubbles.xml.stubXMLStreamWriterFactory', 17 'net.stubbles.stubFactory' 17 'net.stubbles.xml.stubXMLStreamWriterFactory' 18 18 ); 19 19 /**
