Changeset 1743
- Timestamp:
- 07/28/08 10:14:16 (4 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
framework/trunk/src/main/php/net/stubbles/lang/initializer/stubGeneralInitializer.php
r1675 r1743 26 26 protected $features = array('logger' => true, 27 27 'rdbms' => false, 28 'cache' => false /*,29 'events' => false*/28 'cache' => false#, 29 # 'events' => false 30 30 ); 31 31 /** … … 36 36 protected $classes = array('logger' => 'net::stubbles::util::log::stubLoggerXJConfInitializer', 37 37 'rdbms' => 'net::stubbles::rdbms::stubDatabaseXJConfInitializer', 38 'cache' => 'net::stubbles::util::cache::stubCacheXJConfInitializer' /*,39 'events' => 'net::stubbles::events::stubEventsXJConfInitializer'*/38 'cache' => 'net::stubbles::util::cache::stubCacheXJConfInitializer'#, 39 #'events' => 'net::stubbles::events::stubEventsXJConfInitializer' 40 40 ); 41 41 … … 74 74 } 75 75 76 /*if ($this->isEventHandlingEnabled() === true) {77 $this->getEventsInitializer()->init();78 }*/76 #if ($this->isEventHandlingEnabled() === true) { 77 # $this->getEventsInitializer()->init(); 78 #} 79 79 } 80 80 … … 190 190 public function getEventsInitializer() 191 191 { 192 /*if (true === $this->features['events']) {193 stubClassLoader::load('net::stubbles::events::stubEventsInitializer');194 $eventsInitializer = $this->getInitializer('events');195 if (($eventsInitializer instanceof stubEventsInitializer) === false) {196 throw new stubRuntimeException('Configured events initializer is not an instance of net::stubbles::events::stubEventsInitializer');197 }198 199 return $eventsInitializer;200 }201 */ 192 #if (true === $this->features['events']) { 193 # stubClassLoader::load('net::stubbles::events::stubEventsInitializer'); 194 # $eventsInitializer = $this->getInitializer('events'); 195 # if (($eventsInitializer instanceof stubEventsInitializer) === false) { 196 # throw new stubRuntimeException('Configured events initializer is not an instance of net::stubbles::events::stubEventsInitializer'); 197 # } 198 199 # return $eventsInitializer; 200 #} 201 202 202 return null; 203 203 } framework/trunk/src/main/php/net/stubbles/xml/xsl/stubXSLProcessor.php
r1739 r1743 89 89 * static creation with fluent interface 90 90 * 91 * @param DOMDocument $stylesheet 91 * @param DOMDocument $stylesheetFile 92 92 * @return stubXSLProcessor 93 93 */ … … 279 279 * @param array $params the list of parameters to set: name => value 280 280 * @return stubXSLProcessor 281 * @throws stubXSLProcessorException 281 282 */ 282 283 public function withParameters($nameSpace, array $params)
