~hexmode/+junk/main

« back to all changes in this revision

Viewing changes to install-files/apps/phpmyadmin2.10.1/libraries/export/excel.php

  • Committer: Mark A. Hershberger
  • Date: 2008-01-05 19:38:56 UTC
  • Revision ID: hershberger@spawn-xp-20080105193856-6rnzgwa4nehue3qj
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/* $Id: excel.php 9533 2006-10-10 14:20:58Z nijel $ */
 
3
// vim: expandtab sw=4 ts=4 sts=4:
 
4
 
 
5
/**
 
6
 * Set of functions used to build CSV dumps of tables
 
7
 */
 
8
 
 
9
if (isset($plugin_list)) {
 
10
    $plugin_list['excel'] = array(
 
11
        'text' => 'strStrucExcelCSV',
 
12
        'extension' => 'csv',
 
13
        'mime_type' => 'text/comma-separated-values',
 
14
        'options' => array(
 
15
            array('type' => 'text', 'name' => 'null', 'text' => 'strReplaceNULLBy'),
 
16
            array('type' => 'bool', 'name' => 'columns', 'text' => 'strPutColNames'),
 
17
            array('type' => 'select', 'name' => 'edition', 'values' => array('win' => 'Windows', 'mac' => 'Excel 2003 / Macintosh'), 'text' => 'strExcelEdition'),
 
18
            array('type' => 'hidden', 'name' => 'data'),
 
19
            ),
 
20
        'options_text' => 'strExcelOptions',
 
21
        );
 
22
} else {
 
23
    /* Everything rest is coded in csv plugin */
 
24
    require('./libraries/export/csv.php');
 
25
}
 
26
?>