[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lang/en/ -> mimetypes.php (source)

   1  <?php
   2  // This file is part of Moodle - http://moodle.org/
   3  //
   4  // Moodle is free software: you can redistribute it and/or modify
   5  // it under the terms of the GNU General Public License as published by
   6  // the Free Software Foundation, either version 3 of the License, or
   7  // (at your option) any later version.
   8  //
   9  // Moodle is distributed in the hope that it will be useful,
  10  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12  // GNU General Public License for more details.
  13  //
  14  // You should have received a copy of the GNU General Public License
  15  // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
  16  
  17  /**
  18   * Strings for component 'mimetypes', language 'en', branch 'MOODLE_20_STABLE'
  19   *
  20   * Strings are used to display human-readable name of mimetype. Some mimetypes share the same
  21   * string. The following attributes are passed in the parameter when processing the string:
  22   *   $a->ext - filename extension in lower case
  23   *   $a->EXT - filename extension, capitalized
  24   *   $a->Ext - filename extension with first capital letter
  25   *   $a->mimetype - file mimetype
  26   *   $a->mimetype1 - first chunk of mimetype (before /)
  27   *   $a->mimetype2 - second chunk of mimetype (after /)
  28   *   $a->Mimetype, $a->MIMETYPE, $a->Mimetype1, $a->Mimetype2, $a->MIMETYPE1, $a->MIMETYPE2
  29   *      - the same with capitalized first/all letters
  30   *
  31   * @see       get_mimetypes_array()
  32   * @see       get_mimetype_description()
  33   * @package   core
  34   * @copyright 1999 onwards Martin Dougiamas  {@link http://moodle.com}
  35   * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  36   */
  37  
  38  $string['application/msword'] = 'Word document';
  39  $string['application/pdf'] = 'PDF document';
  40  $string['application/vnd.moodle.backup'] = 'Moodle backup';
  41  $string['application/vnd.ms-excel'] = 'Excel spreadsheet';
  42  $string['application/vnd.ms-powerpoint'] = 'Powerpoint presentation';
  43  $string['application/vnd.openxmlformats-officedocument.presentationml.presentation'] = 'Powerpoint presentation';
  44  $string['application/vnd.openxmlformats-officedocument.presentationml.slideshow'] = 'Powerpoint slideshow';
  45  $string['application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'] = 'Excel spreadsheet';
  46  $string['application/vnd.openxmlformats-officedocument.spreadsheetml.template'] = 'Excel template';
  47  $string['application/vnd.openxmlformats-officedocument.wordprocessingml.document'] = 'Word document';
  48  $string['application/epub_zip'] = 'EPUB ebook';
  49  $string['archive'] = 'Archive ({$a->EXT})';
  50  $string['audio'] = 'Audio file ({$a->EXT})';
  51  $string['default'] = '{$a->mimetype}';
  52  $string['document/unknown'] = 'File';
  53  $string['image'] = 'Image ({$a->MIMETYPE2})';
  54  $string['text/html'] = 'HTML document';
  55  $string['text/plain'] = 'Text file';
  56  $string['text/rtf'] = 'RTF document';


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1