Dieser Commit ist enthalten in:
Ursprung
2b21070b1a
Commit
f7a7c71f86
1583 geänderte Dateien mit 454759 neuen und 0 gelöschten Zeilen
33
application/models/Sqlbox.php
Normale Datei
33
application/models/Sqlbox.php
Normale Datei
|
|
@ -0,0 +1,33 @@
|
|||
<?php
|
||||
/**
|
||||
* This file is part of MySQLDumper released under the GNU/GPL 2 license
|
||||
* http://www.mysqldumper.net
|
||||
*
|
||||
* @package MySQLDumper
|
||||
* @subpackage Sql
|
||||
* @version SVN: $Rev$
|
||||
* @author $Author$
|
||||
*/
|
||||
/**
|
||||
* Config Validator
|
||||
*
|
||||
* Model to validate configuration values set in config form
|
||||
*
|
||||
* @package MySQLDumper
|
||||
* @subpackage Sqlbox
|
||||
*/
|
||||
class Application_Model_Sqlbox
|
||||
{
|
||||
public function getTableSelectBox()
|
||||
{
|
||||
$this->_db = Msd_Db::getAdapter();
|
||||
$config = Msd_Configuration::getInstance();
|
||||
$db = $config->get('dynamic.dbActual');
|
||||
$tableNames = $this->_db->getTables($db);
|
||||
$options = array();
|
||||
foreach ($tableNames as $table) {
|
||||
$options[$table] = $table;
|
||||
}
|
||||
return Msd_Html::getHtmlOptions($options, '');
|
||||
}
|
||||
}
|
||||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren