"Fossies" - the Fresh Open Source Software Archive

Member "phpMyAdmin-5.1.0-english/libraries/classes/Plugins/Transformations/Text_Plain_Substring.php" (24 Feb 2021, 709 Bytes) of package /linux/www/phpMyAdmin-5.1.0-english.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) PHP source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "Text_Plain_Substring.php" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 5.0.4-english_vs_5.1.0-english.

    1 <?php
    2 /**
    3  * Text Plain Substring Transformations plugin for phpMyAdmin
    4  */
    5 
    6 declare(strict_types=1);
    7 
    8 namespace PhpMyAdmin\Plugins\Transformations;
    9 
   10 use PhpMyAdmin\Plugins\Transformations\Abs\SubstringTransformationsPlugin;
   11 
   12 /**
   13  * Handles the substring transformation for text plain
   14  */
   15 // @codingStandardsIgnoreLine
   16 class Text_Plain_Substring extends SubstringTransformationsPlugin
   17 {
   18     /**
   19      * Gets the plugin`s MIME type
   20      *
   21      * @return string
   22      */
   23     public static function getMIMEType()
   24     {
   25         return 'Text';
   26     }
   27 
   28     /**
   29      * Gets the plugin`s MIME subtype
   30      *
   31      * @return string
   32      */
   33     public static function getMIMESubtype()
   34     {
   35         return 'Plain';
   36     }
   37 }