[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/jquery/ -> plugins.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   * This file describes jQuery plugins available in the Moodle
  19   * core component. These can be included in page using:
  20   *   $PAGE->requires->jquery();
  21   *   $PAGE->requires->jquery_plugin('migrate');
  22   *   $PAGE->requires->jquery_plugin('ui');
  23   *   $PAGE->requires->jquery_plugin('ui-css');
  24   *
  25   * Please note that other moodle plugins can not use the same
  26   * jquery plugin names, only one is loaded if collision detected.
  27   *
  28   * Any Moodle plugin may add jquery/plugins.php that defines extra
  29   * jQuery plugins.
  30   *
  31   * Themes and other plugins may override any jquery plugin,
  32   * for example to override default jQueryUI theme.
  33   *
  34   * @package    core
  35   * @copyright  2013 Petr Skoda  {@link http://skodak.org}
  36   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  37   */
  38  
  39  $plugins = array(
  40      'jquery'  => array('files' => array('jquery-1.11.1.min.js')),
  41      'migrate' => array('files' => array('jquery-migrate-1.2.1.min.js')),
  42      'ui'      => array('files' => array('ui-1.11.1/jquery-ui.min.js')),
  43      'ui-css'  => array('files' => array('ui-1.11.1/theme/smoothness/jquery-ui.min.css')),
  44  );


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1