Translation update done using Pootle.
[phpmyadmin/dkf.git] / libraries / transformations / text_plain__sql.inc.php
blobafc2888629af0e606ffd4315583fdff1234607de
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * @package phpMyAdmin-Transformation
5 */
7 function PMA_transformation_text_plain__sql_info() {
8 return array(
9 'info' => __('Formats text as SQL query with syntax highlighting.'),
13 /**
16 function PMA_transformation_text_plain__sql($buffer, $options = array(), $meta = '') {
17 $result = PMA_SQP_formatHtml(PMA_SQP_parse($buffer));
18 // Need to clear error state not to break subsequent queries display.
19 PMA_SQP_resetError();
20 return $result;