File: TEMPLATE

package info (click to toggle)
phpmyadmin 4%3A2.9.1.1-3
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 13,224 kB
  • ctags: 119,177
  • sloc: php: 148,860; sh: 636; sql: 224; perl: 142
file content (28 lines) | stat: -rw-r--r-- 1,116 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/* $Id: TEMPLATE 5208 2003-11-26 22:52:25Z rabus $ */
// vim: expandtab sw=4 ts=4 sts=4:

/**
 * Plugin function TEMPLATE (Garvin Hicking).
 * -----------------------------------------
 *
 * For instructions, read the /Documentation.html file.
 *
 * The string [ENTER_FILENAME_HERE] shall be substituted with the filename without the '.inc.php'
 * extension. For further information regarding naming conventions see the /Documentation.html file.
 */

function PMA_transformation_[ENTER_FILENAME_HERE]($buffer, $options = array(), $meta = '') {
    // possibly use a global transform and feed it with special options:
    // include('./libraries/transformations/global.inc.php');

    // 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;
}

?>