1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-29 21:24:44 +03:00
Files
phpmyadmin/libraries/plugins/transformations/input/Text_Plain_Regexvalidation.class.php
2014-07-12 01:52:32 +05:30

47 lines
1020 B
PHP

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Text Plain Regex Validation Input Transformations plugin for phpMyAdmin
*
* @package PhpMyAdmin-Transformations
* @subpackage RegexValidation
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/* Get the regex validation transformations class */
require_once 'libraries/plugins/transformations/abstract/'
. 'RegexValidationTransformationsPlugin.class.php';
/**
* Handles the input regex validation transformation for text plain.
* Has one option: the regular expression
*
* @package PhpMyAdmin-Transformations
* @subpackage RegexValidation
*/
class Text_Plain_RegexValidation extends RegexValidationTransformationsPlugin
{
/**
* Gets the plugin`s MIME type
*
* @return string
*/
public static function getMIMEType()
{
return "Text";
}
/**
* Gets the plugin`s MIME subtype
*
* @return string
*/
public static function getMIMESubtype()
{
return "Plain";
}
}
?>