SproutCMS

This is the code documentation for the SproutCMS project

class ExportTable

Source code (4 results)

/sprout/Controllers/DbToolsController.php   Highlighted file source

Line 41: use Sprout\Helpers\ExportTableSQL;
Line 122: [ 'url' => 'dbtools/exportTables', 'name' => 'Export database', 'desc' => 'Export tables to an SQL file' ],
Line 1031: public function exportTables()
Line 1090: $type_options .= '<option value="' . ExportTableSQL::DATA_INSERT . '">Insert</option>';
Line 1091: $type_options .= '<option value="' . ExportTableSQL::DATA_BOTH . '">Insert...update</option>';
Line 1092: $type_options .= '<option value="' . ExportTableSQL::DATA_UPDATE .'">Update</option>';
Line 1093: $type_options .= '<option value="' . ExportTableSQL::DATA_CSV . '">CSV file</option>';
Line 1094: $type_options .= '<option value="' . ExportTableSQL::DATA_NONE . '">None</option>';
Line 1198: $table = new ExportTableSQL();

/sprout/Helpers/Export.php   Highlighted file source

Line 30: public function addTable(ExportTable $table)
Line 101: if ($table_def->data == ExportTableSQL::DATA_CSV) {
Line 113: } else if ($table_def->data != ExportTableSQL::DATA_NONE) {
Line 123: case ExportTableSQL::DATA_INSERT:
Line 128: case ExportTableSQL::DATA_UPDATE:
Line 133: case ExportTableSQL::DATA_BOTH:

/sprout/Helpers/ExportTableSQL.php   Highlighted file source

Line 16: class ExportTableSQL extends ExportTable

A total of 17 lines in 4 files were found