Translation update done using Pootle.
[phpmyadmin/ammaryasirr.git] / libraries / transformations / text_plain__sql.inc.php
blob2db5eccf877eccb2dc79d1b6a004cfebaa329f33
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()
9 return array(
10 'info' => __('Formats text as SQL query with syntax highlighting.'),
14 /**
17 function PMA_transformation_text_plain__sql($buffer, $options = array(), $meta = '')
19 $result = PMA_SQP_formatHtml(PMA_SQP_parse($buffer));
20 // Need to clear error state not to break subsequent queries display.
21 PMA_SQP_resetError();
22 return $result;