1
0
Fork 0
MySQLDumper/library/Msd/Sql/Parser/Statement/Create.php
DSB e7bc0d0b0a Added new parser to SQL-Browser / SQL-Box
Removed require_once in parser classes
Added debug possibility to parser
2011-06-19 14:42:30 +00:00

33 Zeilen
753 B
PHP

<?php
/**
* This file is part of MySQLDumper released under the GNU/GPL 2 license
* http://www.mysqldumper.net
*
* @package MySQLDumper
* @subpackage SQL-Browser
* @version SVN: $Rev$
* @author $Author$
*/
/**
* Class to parse MySQL CREATE statements.
* This enables you to analyze and modify MySQL queries, which the user has entered.
*
* @package MySQLDumper
* @subpackage SQL-Parser
*/
class Msd_Sql_Parser_Statement_Create implements Msd_Sql_Parser_Interface
{
/**
* Parse the statement.
*
* @param string $statement MySQL CREATE statement.
*
* @return void
*/
public function parse($statement)
{
echo "Create: $statement\n";
return $statement;
}
}