1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-29 21:24:44 +03:00
Files
phpmyadmin/libraries/plugins/transformations/TransformationTextPlainLink.class.php
2012-06-07 14:57:14 +03:00

58 lines
1.2 KiB
PHP

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Text Plain Link Transformations plugin for phpMyAdmin
*
* @package PhpMyAdmin-Transformations
* @subpackage Link
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/* Get the link transformations interface */
require_once "libraries/plugins/abstract/LinkTransformationsPlugin.class.php";
/**
* Handles the link transformation for text plain
*
* @package PhpMyAdmin
*/
class TransformationTextPlainLink
extends LinkTransformationsPlugin
{
/**
* Gets the transformation description of the specific plugin
*
* @return string
*/
public function getInfo()
{
return __(
'Displays a link; the column contains the filename. The first option'
. ' is a URL prefix like "http://www.example.com/". The second option'
. ' is a title for the link.'
);
}
/**
* Gets the plugin`s MIME type
*
* @return string
*/
public function getMIMEType()
{
return "Text";
}
/**
* Gets the plugin`s MIME subtype
*
* @return string
*/
public function getMIMESubtype()
{
return "Plain";
}
}
?>