Changeset 909

Show
Ignore:
Timestamp:
09/12/07 00:09:41 (1 year ago)
Author:
schst
Message:

Removed tabs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/ipo/session/resourcemanager/stubSessionResourceManager.php

    r908 r909  
    103103        $sessionKey = 'net.stubbles.ipo.session.resourcemanager#'.$implementation; 
    104104        if ($this->session->hasValue($sessionKey)) { 
    105            $this->resources[$implementation] = $this->session->getValue($sessionKey); 
     105            $this->resources[$implementation] = $this->session->getValue($sessionKey); 
    106106            $this->session->putValue($sessionKey, $this->resources[$implementation]); 
    107            return $this->resources[$implementation]; 
     107            return $this->resources[$implementation]; 
    108108        } 
    109109 
     
    156156    protected function getImplementation($interface) { 
    157157        if (!isset($this->resourceDefinitions[$interface])) { 
    158            throw new stubException('Resource ' . $interface . ' is not availabale.'); 
     158            throw new stubException('Resource ' . $interface . ' is not availabale.'); 
    159159        } 
    160160        return $this->resourceDefinitions[$interface]; 
     
    181181    public function registerBindings(stubBinder $binder) { 
    182182        foreach ($this->resourceDefinitions as $interface => $impl) { 
    183            $localName = substr($interface, strrpos($interface, '.')+1); 
    184            $binder->bind($localName)->toProvider($this); 
     183            $localName = substr($interface, strrpos($interface, '.')+1); 
     184            $binder->bind($localName)->toProvider($this); 
    185185        } 
    186186    } 
  • trunk/src/main/php/net/stubbles/ipo/session/resourcemanager/stubSessionResourceManagerPreInterceptor.php

    r908 r909  
    4444        $manager = new stubSessionResourceManager($session); 
    4545        foreach ($this->resourceConfig as $impl => $interfaces) { 
    46            $manager->addResourceDefinition($impl, $interfaces); 
     46            $manager->addResourceDefinition($impl, $interfaces); 
    4747        } 
    4848        stubRegistry::set('net.stubbles.ipo.session.resourcemanager.stubSessionResourceManager', $manager); 
  • trunk/src/main/php/net/stubbles/websites/xml/stubXMLProcessor.php

    r908 r909  
    5959            $injector = stubRegistry::get('net.stubbles.ioc.stubBinder')->getInjector(); 
    6060        } else { 
    61            $injector = null; 
     61            $injector = null; 
    6262        } 
    6363 
     
    8585            $xmlStreamWriter->writeStartElement('resources'); 
    8686            foreach ($page->getResources() as $name => $interface) { 
    87               $resource = $resourceManager->getResource($interface); 
     87               $resource = $resourceManager->getResource($interface); 
    8888               $xmlSerializer->serialize($resource, $xmlStreamWriter, array(stubXMLSerializer::OPT_ROOT_TAG => $name)); 
    8989            }