Lines Matching defs:schemaName
32 * @param string $schemaName
35 public function replaceSchemaAssignmentPatterns($schemaName, $patterns)
42 $schemaName = $this->sqlite->escape_string($schemaName);
44 $sql[] = "DELETE FROM schema_assignments_patterns WHERE tbl = '$schemaName'";
45 $sql[] = "DELETE FROM schema_assignments WHERE tbl = '$schemaName'";
48 $sql[] = "INSERT INTO schema_assignments_patterns (pattern, tbl) VALUES ('$pattern','$schemaName')";
53 $assignments->propagatePageAssignments($schemaName);
59 * @param string $schemaName
62 public function getSchemaAssignmentPatterns($schemaName)
70 $patterns = $this->sqlite->queryAll($sql, $schemaName);
77 * @param string $schemaName
80 public function getCurrentSchemaJSON($schemaName)
82 $schema = new Schema($schemaName);
93 * @param string $schemaName The name of the schema
101 public function importSchema($schemaName, $schemaJSON, $user = null)
103 $importer = new SchemaImporter($schemaName, $schemaJSON);