/** * Looks in from and from named part of the query and * adds the graphs to the graphlist. * * @return Array */ protected function preselectGraphs() { $fromNamed = $this->query->getFromNamedPart(); if ($fromNamed == null) { $fromNamed[] = null; } return $fromNamed; }