Read data from the session dirver

@param string		$id		The session id key.
@return array
321130
public function read( $id )
	{
	    if ( $this->has( $id ) )
		{
			return unserialize( \CCFile::read( $this->file_path( $id ) ) );
		}
		
		return array();
	}
1011548
public function read($id)
    {
        $found = false;

        try {
            $this->data['entry'] = $entry = $this->collection->findOne($id);
        } catch (Exception $e) {
            // noop
        }

        if (isset($entry)) {
            $found = true;
        }

        if (! $found) {
            return $this->app->notFound();
        }
    }
820856
public function read($session_id)
    {
        $result = '';

        if ($this->getTable()->isConnected())
        {
            $row = $this->_table->select($session_id, KDatabase::FETCH_ROW);

            if (!$row->isNew()) {
                $result = $row->data;
            }
        }

        /*
         * It turns out that session_start() doesn't like the read method of a custom session handler
         * returning false or null if there's no session in existence.
         *
         * See: https://stackoverflow.com/a/48245947
         * See: http://php.net/manual/en/function.session-start.php#120589
         */
        return $result !== null ? $result : '';

    }
622617
public function read($sessionID): string
    {
        $where = ['session_id' => $sessionID];
        $query = $this->dbClass->prepare()->select(['session_data'])->from($this->dbTable)->where($where);
        $result = $this->dbClass->execute($query);
        $data = $this->dbClass->rowCount() > 0 ? $result[0]['session_data'] : '';

        return $data;
    }
1043576
public function get($id) {
        $this->checkPermissions('get');
        
        return $this->client->retrieveData($this->resourceName . '/' . $id);
    }
1225987
public function read($ID)
    {
        $member = Member::currentUser();
        if (!$member) {
            return false;
        }

        if ($ID) {
            $notification = InternalNotification::get()
                ->filter([
                    'ID' => $ID,
                    'ToID' => $member->ID,
                    'IsRead' => false
                ])->first();
            if ($notification) {
                $notification->IsRead = true;
                $notification->write();
                return true;
            }
        }
        return false;
    }
1143089
public function read( $id )
	{
	    if ( $this->has( $id ) )
		{
			return \CCJson::read( $this->file_path( $id ) );
		}
		
		return array();
	}
436324
public function load($id)
    {

        try {
            // prepare the pathname to the file containing the session data
            $filename = $this->getSessionSettings()->getSessionFilePrefix() . $id;
            $pathname = $this->getSessionSavePath($filename);

            // unpersist and return the session from the file system
            return $this->unpersist($pathname);

        } catch (SessionDataNotReadableException $sdnre) {
            $this->delete($id);
            throw $sdnre;
        }
    }
53376
protected function getData($id)
    {
        $data = (new Query())->select(['data'])
                ->from($this->tableName)
                ->where(['id' => $id])->scalar();
        if ($data !== false) {
            return empty($data) ? [] : unserialize($data);
        }
        return false;
    }
285388
public function get($id) {
		// Open the file
		$path = $this->preparePath($id);
		$file = $this->openFile($path);
		
		if ($file === false) { // File is absent or is expired
			return;
		}
		
		// Process the data
		$data = $this->getData($file, $path);
		
		fclose($file);
		
		return $data;
	}
1273150
public function read($id)
    {
        $page = $this->service->read($id);

        return $this->checkSatisfaction($page);
    }
173052
public function read( $id ) {

		$id = $this->getKey( $id );

		// If possible use the raw data from the internal cache
		// without unserialization
		if ( $this->internalCache->contains( $id ) ) {
			$data = $this->internalCache->fetch( $id );
		} elseif ( $this->cache->contains( $id ) ) {
			$data = unserialize( $this->cache->fetch( $id ) );
			$this->internalCache->save( $id, $data );
		} else {
			$data = array();
		}

		$container = new Container( $id, (array)$data );
		$container->setExpiryInSeconds( $this->expiry );

		return $container;
	}
269256
public function read($id)
    {
        $this->preRead($id);
        $result = $this->dataStore->read($id);

        return $this->postRead($result, $id);
    }
453212
public function get_list($id) {
        foreach (array(self::INDEX_LISTS, self::INDEX_LIST) as $k) {
            $key = $this->baseurl . '/' . $k . $id;
            if (isset($this->raw[$key])) {
                return new ReadingList($this->api, $this->baseurl, $id, $this->raw[$key]);
            }
        }

        return null;
    }
528894
public function read($id)
    {
        $thread = Thread::find($id);
        if (!$thread) {
            abort(404);
        }

        $thread->markAsRead(Auth::id());
    }
876400
public function load($id)
    {

        try {
            return $this->unpersist($id);
        } catch (SessionDataNotReadableException $sdnre) {
            $this->delete($id);
        }
    }
357032
function read($id) {
		$this->sid=$id;
		if (!$data=$this->_cache->get($id.'.@'))
			return '';
		if ($data['ip']!=$this->_ip || $data['agent']!=$this->_agent) {
			$fw=Base::instance();
			if (!isset($this->onsuspect) ||
				$fw->call($this->onsuspect,[$this,$id])===FALSE) {
				//NB: `session_destroy` can't be called at that stage (`session_start` not completed)
				$this->destroy($id);
				$this->close();
				unset($fw->{'COOKIE.'.session_name()});
				$fw->error(403);
			}
		}
		return $data['data'];
	}