"Fossies" - the Fresh Open Source Software Archive

Member "phpMyAdmin-5.1.0-all-languages/libraries/classes/Plugins/Transformations/Output/Image_JPEG_Link.php" (24 Feb 2021, 701 Bytes) of package /linux/www/phpMyAdmin-5.1.0-all-languages.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. See also the last Fossies "Diffs" side-by-side code changes report for "Image_JPEG_Link.php": 5.0.4-english_vs_5.1.0-english.

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