Added the zend framework 2 library, the path is specified in line no.26 in zend_modul...
[openemr.git] / phpmyadmin / libraries / plugins / transformations / TEMPLATE
blobb0ce2f04593ef19a480e39ee16bff52b68272402
1 <?php
2 // vim: expandtab sw=4 ts=4 sts=4:
3 /**
4  * This file contains the basic structure for a specific MIME Type and Subtype
5  * transformations class.
6  * For instructions, read the documentation
7  *
8  * @package    PhpMyAdmin-Transformations
9  * @subpackage [TransformationName]
10  */
11 if (! defined('PHPMYADMIN')) {
12     exit;
15 /* Get the [TransformationName] transformations interface */
16 require_once 'abstract/[TransformationName]TransformationsPlugin.class.php';
18 /**
19  * Handles the [TransformationName] transformation for [MIMEType] - [MIMESubtype]
20  *
21  * @package PhpMyAdmin
22  */
23 class [MIMEType]_[MIMESubtype]_[TransformationName]
24     extends [TransformationName]TransformationsPlugin
26     /**
27      * Gets the plugin`s MIME type
28      *
29      * @return string
30      */
31     public static function getMIMEType()
32     {
33         return "[MIMEType]";
34     }
36     /**
37      * Gets the plugin`s MIME subtype
38      *
39      * @return string
40      */
41     public static function getMIMESubtype()
42     {
43         return "[MIMESubtype]";
44     }
47 /**
48  * Function to call [MIMEType]_[MIMESubtype]_[TransformationName]::getInfo();
49  *
50  * Temporary workaround for bug #3783 :
51  * Calling a method from a variable class is not possible before PHP 5.3.
52  *
53  * This function is called by PMA_getTransformationDescription()
54  * in libraries/transformations.lib.php using a variable to construct it's name.
55  * This function then calls the static method.
56  *
57  * Don't use this function unless you are affected by the same issue.
58  * Call the static method directly instead.
59  *
60  * @deprecated
61  * @return string Info about transformation class
62  */
64 function [MIMEType]_[MIMESubtype]_[TransformationName]_getInfo()
66     return [MIMEType]_[MIMESubtype]_[TransformationName]::getInfo();