Changeset 865

Show
Ignore:
Timestamp:
08/21/07 23:27:03 (1 year ago)
Author:
schst
Message:

Whitespace fixes

Files:

Legend:

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

    r390 r865  
    1313/** 
    1414 * Session class using default PHP sessions. 
    15  *  
    16  * This session class offers session handling based on the default PHP session  
     15 * 
     16 * This session class offers session handling based on the default PHP session 
    1717 * functions. 
    1818 * 
     
    2929     */ 
    3030    protected $request; 
    31      
     31 
    3232    /** 
    3333     * template method for child classes to do the real construction 
    34      *  
     34     * 
    3535     * @param  stubRequest  $request      request instance 
    3636     * @param  string       $sessionName  name of the session 
     
    4242        @session_start(); 
    4343    } 
    44          
     44 
    4545    /** 
    4646     * returns fingerprint for user: has to use same user agent all over the session 
    47      *  
     47     * 
    4848     * @return  string 
    4949     */ 
     
    5252        return $this->request->getFilteredValue(new stubMD5Filter('', stubRegistry::getConfig('net.stubbles.ipo.session.fingerprintSalt', '')), 'HTTP_USER_AGENT', stubRequest::SOURCE_HEADER); 
    5353    } 
    54      
     54 
    5555    /** 
    5656     * returns session id 
     
    9191        $_SESSION[$key] = $value; 
    9292    } 
    93      
     93 
    9494    /** 
    9595     * returns a value associated with the key or the default value 
     
    102102        return $_SESSION[$key]; 
    103103    } 
    104      
     104 
    105105    /** 
    106106     * checks whether a value associated with key exists 
     
    113113        return isset($_SESSION[$key]); 
    114114    } 
    115      
     115 
    116116    /** 
    117117     * removes a value from the session 
     
    125125        return true; 
    126126    } 
    127      
     127 
    128128    /** 
    129129     * return an array of all keys registered in this session