Lines Matching refs:table

51         $table = Schema::cleanTableName($INPUT->str('table'));
52 if ($table && $INPUT->bool('save') && checkSecurityToken()) {
53 $builder = new SchemaBuilder($table, $INPUT->arr('schema'));
60 if ($table && $INPUT->bool('export')) {
61 $builder = new Schema($table);
63 header("Content-Disposition: attachment; filename=$table.struct.json");
68 if ($table && $INPUT->bool('import')) {
74 $builder = new SchemaImporter($table, $json);
84 if ($table && $INPUT->bool('importcsv')) {
89 $csvImporter = new CSVPageImporter($table, $_FILES['csvfile']['tmp_name'], $datatype);
91 $csvImporter = new CSVSerialImporter($table, $_FILES['csvfile']['tmp_name'], $datatype);
93 $csvImporter = new CSVImporter($table, $_FILES['csvfile']['tmp_name'], $datatype);
104 if ($table && $INPUT->bool('exportcsv')) {
106 header('Content-Disposition: attachment; filename="' . $table . '.csv";');
107 new CSVExporter($table, $INPUT->str('exporttype'));
112 if ($table && $INPUT->bool('delete')) {
113 if ($table != $INPUT->str('confirm')) {
117 $schema = new Schema($table);
129 if ($table && $INPUT->bool('clear')) {
130 if ($table != $INPUT->str('confirm_clear')) {
134 $schema = new Schema($table);
153 $table = Schema::cleanTableName($INPUT->str('table'));
154 if ($table) {
155 $schema = new Schema($table, 0);
158 echo '<h2>' . sprintf($this->getLang('edithl'), hsc($table)) . '</h2>';
196 $form->setHiddenField('table', $schema->getTable());
265 $form->setHiddenField('table', $schema->getTable());
294 $form->addTextInput('table', $this->getLang('schemaname'));
326 $table = $schema->getTable();
329 ['do' => 'admin', 'page' => 'struct_schemas', 'table' => $table]
332 $toc[] = html_mktocitem($link, hsc($table), 1, '');