Returns the data stacked in the session

@param boolean $delete Whether to delete the data in the session
@return array
422185
public function getStackedData($delete = true)
    {
        $http = $this->initStackSession();
        $stackedData = $http->getSessionValue($this->stackSessionNamespace);
        if ($delete) {
            $http->deleteSessionValue($this->stackSessionNamespace);
        }

        $datasets = array();
        if ($this->isDataPersisted() && !$this->stackAlwaysUseSessionStorage) {
            foreach ($stackedData as $id => $data) {
                $datasets[$id] = $this->getStorage()->get($id);
            }
        } else {
            $datasets = $stackedData;
        }

        return $datasets;
    }
885766
public function getData()
    {
        $data = $this->getBaseData();
        $data->searchType = 'subscriptionActive';
        $data->sorting->orderBy = 'id';
        $data->sorting->orderDescending = true;
        $data->paging->limit = $this->getLimit();
        $data->paging->offset = $this->getOffset();
        return $data;
    }
912292
public function getDataset($key)
    {
        $data = $this->session->get(self::KEY);
        $set = isset($data[$key])
            ? $data[$key]
            : [];
        return $set;
    }
778661
public function getData($page)
    {
        $this->loadData();
        $start = ($page - 1) * $this->pageSize;

        return array_slice($this->filteredData, $start, $this->pageSize);
    }
1221237
public function getData()
    {
        if ($this->isGet()) {
            $data = $this->get;
        } else {
            $data = $this->post;
        }
        if ($this->session->has('_request_data')) {
            foreach ($this->session->get('_request_data')->getAll() as $key => $val) {
                $data->set($key, $val);
            }
        }
        return $data;
    }
1084675
public function getData(bool $asObject = false)
    {
        $data = $this->data['data'] ?? $this->data;
        return $asObject && $data !== null ? (object) $data : $data;
    }
974415
public function getData()
    {
        if ($this->vars['compound'] && $this->vars['value'] !== null) {
            return array_map(function (DataViewView $view) {
                return $view->getData();
            }, $this->children);
        }

        return $this->vars['value'];
    }
921394
protected function getSessionData(string $key)
    {
        if (method_exists($this->getSession(), 'get')) {
            return $this->getSession()->get($key);
        } elseif (method_exists($this->getSession(), 'read')) {
            return $this->getSession()->read($key);
        }

        return false;
    }
44820
public function getSearchData()
    {
        $data = $this->getSearchSession();

        if (!$data || $data && !is_array($data)) {
            $data = [];
        }

        return $data;
    }
739606
public static function getAll()
    {
        Base::checkOpen();
        if (Base::driver() == "file") {
            return $_SESSION;
        }
        $session = Base::getSessionObject();
        $data_str = $session->read($session->getId());
        if ($data_str === null) {
            return [];
        }
        return unserialize($data_str);
    }
769194
static function getSession($class, $delete = false)
	{
		$return = null;
		if (isset($_SESSION['Api'])) {
			if (isset($_SESSION['Api'][$class])) {
				$return = $_SESSION['Api'][$class];
				if ($delete) {
					unset($_SESSION['Api'][$class]);
				}
			}
		}
		return $return;
	}
46820
function fetchAll($fetchMode = PDO::FETCH_ASSOC) {
        return $this->_data($this->query()->fetchAll($fetchMode),true);
    }
1267953
public function getExtraData()
    {
        if (! isset($this->_gemsData['gec_extra_data'])) {
            return [];
        }
        if (is_string($this->_gemsData['gec_extra_data'])) {
            $this->_gemsData['gec_extra_data'] = json_decode($this->_gemsData['gec_extra_data'], true);
        }

        return $this->_gemsData['gec_extra_data'];
    }
562779
public function all($clear=false)
    {
        $parameters = $this->parameters;

        if($clear === true) {
            $this->parameters = array();
        }

        return $parameters;
    }
1228585
public static function get()
	{
		self::checkSessionStarted();

		$res = array();
		if (isset($_SESSION[self::$sessionName]))
		{
			$res = $_SESSION[self::$sessionName];
			unset($_SESSION[self::$sessionName]);
		}

		return $res;
	}
931354
function collect() {
        $data = array();
        if ( !empty($_SESSION)  ) {
            $opt = $this->session->getOptions();
            $prefix = 0;
            if (isset($opt['uniqueId'])) {
                $prefix = strlen($opt['uniqueId']);
            }
            foreach ($_SESSION as $key => $value) {
                if (strpos( $key, 'PHPDEBUGBAR_STACK_DATA' )===false) {
                    @$data[ substr_replace($key,'',0,$prefix)] = is_string($value) ? $value : $this->formatVar($value);
                }
            }
        }
		return $data;
	}
1009254
public function getBinds($parts = [], $clear = false)
    {
        $binds = [];

        if (!is_array($parts)) {
            $parts = [$parts];
        }

        if (!$parts) {
            $parts = array_keys($this->bind);
        }

        foreach ($parts as $part) {
            if (!isset($this->bind[$part])) {
                continue;
            }

            foreach ($this->bind[$part] as $key => $bind) {
                $binds[] = $bind;
                if ($clear) {
                    unset($this->bind[$part][$key]);
                }
            }
        }

        return $binds;
    }