Changeset 1743

Show
Ignore:
Timestamp:
07/28/08 10:14:16 (4 months ago)
Author:
mikey
Message:

fix coding style issues

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • framework/trunk/src/main/php/net/stubbles/lang/initializer/stubGeneralInitializer.php

    r1675 r1743  
    2626    protected $features = array('logger' => true, 
    2727                                'rdbms'  => false, 
    28                                 'cache'  => false/*
    29                                 'events' => false*/ 
     28                                'cache'  => false#
     29                               # 'events' => false 
    3030                          ); 
    3131    /** 
     
    3636    protected $classes  = array('logger' => 'net::stubbles::util::log::stubLoggerXJConfInitializer', 
    3737                                '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' 
    4040                          ); 
    4141 
     
    7474        } 
    7575         
    76         /*if ($this->isEventHandlingEnabled() === true) { 
    77             $this->getEventsInitializer()->init(); 
    78         }*/ 
     76        #if ($this->isEventHandlingEnabled() === true) { 
     77        #    $this->getEventsInitializer()->init(); 
     78        #} 
    7979    } 
    8080 
     
    190190    public function getEventsInitializer() 
    191191    { 
    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 
    202202        return null; 
    203203    } 
  • framework/trunk/src/main/php/net/stubbles/xml/xsl/stubXSLProcessor.php

    r1739 r1743  
    8989     * static creation with fluent interface 
    9090     * 
    91      * @param   DOMDocument       $stylesheet 
     91     * @param   DOMDocument       $stylesheetFile 
    9292     * @return  stubXSLProcessor 
    9393     */ 
     
    279279     * @param   array             $params     the list of parameters to set: name => value 
    280280     * @return  stubXSLProcessor 
     281     * @throws  stubXSLProcessorException 
    281282     */ 
    282283    public function withParameters($nameSpace, array $params)