2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Abstract class for the transformations plugins
8 if (! defined('PHPMYADMIN')) {
12 /* It extends the PluginObserver abstract class */
13 require_once 'PluginObserver.class.php';
14 /* It also implements the transformations interface */
15 require_once 'TransformationsInterface.int.php';
18 * Extends PluginObserver and provides a common interface that will have to
19 * be implemented by all of the transformations plugins.
23 abstract class TransformationsPlugin
extends PluginObserver
24 implements TransformationsInterface
27 * Does the actual work of each specific transformations plugin.
29 * @param array $options transformation options
33 public function applyTransformationNoWrap($options = array())
39 * Does the actual work of each specific transformations plugin.
41 * @param string $buffer text to be transformed
42 * @param array $options transformation options
43 * @param string $meta meta information
47 abstract public function applyTransformation($buffer, $options = array(), $meta = '');