Beispiel #1
0
 public function initSchemas()
 {
     if ($this->nbSchemas == 0) {
         $this->schemas = $this->massRetriever->getSchemas();
         $this->nbSchemas = count($this->schemas);
         $this->searchPath = $this->massRetriever->getSearchPath();
     }
 }
Beispiel #2
0
 private function getSchemaList()
 {
     if (count($this->schemas) == 0) {
         $pgMassRetriever = new PgMassRetriever($this->doctrine, $this->logger);
         $this->schemas = $pgMassRetriever->getSchemas();
     }
     $schemaList = ['all' => 'All'];
     foreach ($this->schemas as $name => $schema) {
         $schemaList[$name] = $name;
     }
     return $schemaList;
 }