[ Index ]
 

Code source de phpMyAdmin 2.10.3

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/libraries/transformations/ -> TEMPLATE (source)

   1  <?php
   2  /* $Id: TEMPLATE 5208 2003-11-26 22:52:25Z rabus $ */
   3  // vim: expandtab sw=4 ts=4 sts=4:
   4  
   5  /**
   6   * Plugin function TEMPLATE (Garvin Hicking).
   7   * -----------------------------------------
   8   *
   9   * For instructions, read the /Documentation.html file.
  10   *
  11   * The string [ENTER_FILENAME_HERE] shall be substituted with the filename without the '.inc.php'
  12   * extension. For further information regarding naming conventions see the /Documentation.html file.
  13   */
  14  
  15  function PMA_transformation_[ENTER_FILENAME_HERE]($buffer, $options = array(), $meta = '') {
  16      // possibly use a global transform and feed it with special options:
  17      // include('./libraries/transformations/global.inc.php');
  18  
  19      // further operations on $buffer using the $options[] array.
  20  
  21      // You can evaluate the propagated $meta Object. It's contained fields are described in http://www.php.net/mysql_fetch_field.
  22      // This stored information can be used to get the field information about the transformed field.
  23      // $meta->mimetype contains the original MimeType of the field (i.e. 'text/plain', 'image/jpeg' etc.)
  24  
  25      return $buffer;
  26  }
  27  
  28  ?>


Généré le : Mon Nov 26 15:18:20 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics