Upgraded phpmyadmin to 4.0.4 (All Languages) - No modifications yet
[openemr.git] / phpmyadmin / libraries / plugins / TransformationsPlugin.class.php
blob959a8e1913a25ba2fb461e6f3fdb3bc6c4d7784c
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Abstract class for the transformations plugins
6 * @package PhpMyAdmin
7 */
8 if (! defined('PHPMYADMIN')) {
9 exit;
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';
17 /**
18 * Extends PluginObserver and provides a common interface that will have to
19 * be implemented by all of the transformations plugins.
21 * @package PhpMyAdmin
23 abstract class TransformationsPlugin extends PluginObserver
24 implements TransformationsInterface
26 /**
27 * Does the actual work of each specific transformations plugin.
29 * @param array $options transformation options
31 * @return void
33 public function applyTransformationNoWrap($options = array())
38 /**
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
45 * @return void
47 abstract public function applyTransformation($buffer, $options = array(), $meta = '');