public function getValue($key, $lockSession = false) {
        $allValues = $this->getAllValues($lockSession);
        if (isset($allValues[$key])) {
            return $allValues[$key];
        } else {
            return null;
        }
    }
public function getValue($key, $lockSession = false) {
        $allValues = $this->getAllValues($lockSession);
        if (isset($allValues[$key])) {
            return $allValues[$key];
        } else {
            return null;
        }
    }
public function getValue ( $ key , $ lockSession = false ) { $ allValues = $ this -> getAllValues ( $ lockSession ) ; if ( isset ( $ allValues [ $ key ] ) ) { return $ allValues [ $ key ] ; } else { return null ; } }
Get a session value by key

@param unknown_type $key
Get a session value by key