Changeset 1344

Show
Ignore:
Timestamp:
02/20/08 11:37:09 (7 months ago)
Author:
mikey
Message:

bugfix: make properties accessible in child classes

Files:

Legend:

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

    r1281 r1344  
    2929     * @var  bool 
    3030     */ 
    31     private $isNew       = false; 
     31    protected $isNew       = false; 
    3232    /** 
    3333     * the current token of the session, changes on every instantiation 
     
    3535     * @var  string 
    3636     */ 
    37     private $token       = ''; 
     37    protected $token       = ''; 
    3838    /** 
    3939     * name of the session 
     
    4141     * @var  string 
    4242     */ 
    43     private $sessionName = ''; 
     43    protected $sessionName = ''; 
    4444    /** 
    4545     * cache for objects 
     
    4747     * @var  array<string,object> 
    4848     */ 
    49     private $objectCache = array(); 
     49    protected $objectCache = array(); 
    5050 
    5151    /** 
     
    5757    public final function __construct(stubRequest $request, $sessionName) 
    5858    { 
     59        $this->sessionName = $sessionName; 
    5960        $this->doConstruct($request, $sessionName); 
    60         $this->sessionName = $sessionName; 
    6161        if ($this->hasValue(stubSession::START_TIME) == false || $this->doGetValue(stubSession::FINGERPRINT) != $this->getFingerprint()) { 
    6262            if ($this->hasValue(stubSession::START_TIME) == false) {