[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/editor/atto/plugins/charmap/ -> lib.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   * Atto text editor charmap plugin lib.
  19   *
  20   * @package    atto_charmap
  21   * @copyright  2014 Frédéric Massart
  22   * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  23   */
  24  
  25  defined('MOODLE_INTERNAL') || die();
  26  
  27  /**
  28   * Initialise the strings required for JS.
  29   *
  30   * @return void
  31   */
  32  function atto_charmap_strings_for_js() {
  33      global $PAGE;
  34  
  35      // In order to prevent extra strings to be imported, comment/uncomment the characters
  36      // which are enabled in the JavaScript part of this plugin.
  37      $PAGE->requires->strings_for_js(
  38          array(
  39              'insertcharacter',
  40              'nobreakspace',
  41              'ampersand',
  42              'quotationmark',
  43              'centsign',
  44              'eurosign',
  45              'poundsign',
  46              'yensign',
  47              'copyrightsign',
  48              'registeredsign',
  49              'trademarksign',
  50              'permillesign',
  51              'microsign',
  52              'middledot',
  53              'bullet',
  54              'threedotleader',
  55              'minutesfeet',
  56              'secondsinches',
  57              'sectionsign',
  58              'paragraphsign',
  59              'sharpsesszed',
  60              'singleleftpointinganglequotationmark',
  61              'singlerightpointinganglequotationmark',
  62              'leftpointingguillemet',
  63              'rightpointingguillemet',
  64              'leftsinglequotationmark',
  65              'rightsinglequotationmark',
  66              'leftdoublequotationmark',
  67              'rightdoublequotationmark',
  68              'singlelow9quotationmark',
  69              'doublelow9quotationmark',
  70              'lessthansign',
  71              'greaterthansign',
  72              'lessthanorequalto',
  73              'greaterthanorequalto',
  74              'endash',
  75              'emdash',
  76              'macron',
  77              'overline',
  78              'currencysign',
  79              'brokenbar',
  80              'diaeresis',
  81              'invertedexclamationmark',
  82              'turnedquestionmark',
  83              'circumflexaccent',
  84              'smalltilde',
  85              'degreesign',
  86              'minussign',
  87              'plusminussign',
  88              'divisionsign',
  89              'fractionslash',
  90              'multiplicationsign',
  91              'superscriptone',
  92              'superscripttwo',
  93              'superscriptthree',
  94              'fractiononequarter',
  95              'fractiononehalf',
  96              'fractionthreequarters',
  97              'functionflorin',
  98              'integral',
  99              'narysumation',
 100              'infinity',
 101              'squareroot',
 102              // 'similarto',
 103              // 'approximatelyequalto',
 104              'almostequalto',
 105              'notequalto',
 106              'identicalto',
 107              // 'elementof',
 108              // 'notanelementof',
 109              // 'containsasmember',
 110              'naryproduct',
 111              // 'logicaland',
 112              // 'logicalor',
 113              'notsign',
 114              'intersection',
 115              // 'union',
 116              'partialdifferential',
 117              // 'forall',
 118              // 'thereexists',
 119              // 'diameter',
 120              // 'backwarddifference',
 121              // 'asteriskoperator',
 122              // 'proportionalto',
 123              // 'angle',
 124              'acuteaccent',
 125              'cedilla',
 126              'feminineordinalindicator',
 127              'masculineordinalindicator',
 128              'dagger',
 129              'doubledagger',
 130              'agrave_caps',
 131              'aacute_caps',
 132              'acircumflex_caps',
 133              'atilde_caps',
 134              'adiaeresis_caps',
 135              'aringabove_caps',
 136              'ligatureae_caps',
 137              'ccedilla_caps',
 138              'egrave_caps',
 139              'eacute_caps',
 140              'ecircumflex_caps',
 141              'ediaeresis_caps',
 142              'igrave_caps',
 143              'iacute_caps',
 144              'icircumflex_caps',
 145              'idiaeresis_caps',
 146              'eth_caps',
 147              'ntilde_caps',
 148              'ograve_caps',
 149              'oacute_caps',
 150              'ocircumflex_caps',
 151              'otilde_caps',
 152              'odiaeresis_caps',
 153              'oslash_caps',
 154              'ligatureoe_caps',
 155              'scaron_caps',
 156              'ugrave_caps',
 157              'uacute_caps',
 158              'ucircumflex_caps',
 159              'udiaeresis_caps',
 160              'yacute_caps',
 161              'ydiaeresis_caps',
 162              'thorn_caps',
 163              'agrave',
 164              'aacute',
 165              'acircumflex',
 166              'atilde',
 167              'adiaeresis',
 168              'aringabove',
 169              'ligatureae',
 170              'ccedilla',
 171              'egrave',
 172              'eacute',
 173              'ecircumflex',
 174              'ediaeresis',
 175              'igrave',
 176              'iacute',
 177              'icircumflex',
 178              'idiaeresis',
 179              'eth',
 180              'ntilde',
 181              'ograve',
 182              'oacute',
 183              'ocircumflex',
 184              'otilde',
 185              'odiaeresis',
 186              'oslash',
 187              'ligatureoe',
 188              'scaron',
 189              'ugrave',
 190              'uacute',
 191              'ucircumflex',
 192              'udiaeresis',
 193              'yacute',
 194              'thorn',
 195              'ydiaeresis',
 196              'alpha_caps',
 197              'beta_caps',
 198              'gamma_caps',
 199              'delta_caps',
 200              'epsilon_caps',
 201              'zeta_caps',
 202              'eta_caps',
 203              'theta_caps',
 204              'iota_caps',
 205              'kappa_caps',
 206              'lambda_caps',
 207              'mu_caps',
 208              'nu_caps',
 209              'xi_caps',
 210              'omicron_caps',
 211              'pi_caps',
 212              'rho_caps',
 213              'sigma_caps',
 214              'tau_caps',
 215              'upsilon_caps',
 216              'phi_caps',
 217              'chi_caps',
 218              'psi_caps',
 219              'omega_caps',
 220              'alpha',
 221              'beta',
 222              'gamma',
 223              'delta',
 224              'epsilon',
 225              'zeta',
 226              'eta',
 227              'theta',
 228              'iota',
 229              'kappa',
 230              'lambda',
 231              'mu',
 232              'nu',
 233              'xi',
 234              'omicron',
 235              'pi',
 236              'rho',
 237              'finalsigma',
 238              'sigma',
 239              'tau',
 240              'upsilon',
 241              'phi',
 242              'chi',
 243              'psi',
 244              'omega',
 245              // 'alefsymbol',
 246              // 'pisymbol',
 247              // 'realpartsymbol',
 248              // 'thetasymbol',
 249              // 'upsilonhooksymbol',
 250              // 'weierstrassp',
 251              // 'imaginarypart',
 252              'leftwardsarrow',
 253              'upwardsarrow',
 254              'rightwardsarrow',
 255              'downwardsarrow',
 256              'leftrightarrow',
 257              // 'carriagereturn',
 258              // 'leftwardsdoublearrow',
 259              // 'upwardsdoublearrow',
 260              // 'rightwardsdoublearrow',
 261              // 'downwardsdoublearrow',
 262              // 'leftrightdoublearrow',
 263              // 'therefore',
 264              // 'subsetof',
 265              // 'supersetof',
 266              // 'notasubsetof',
 267              // 'subsetoforequalto',
 268              // 'supersetoforequalto',
 269              // 'circledplus',
 270              // 'circledtimes',
 271              // 'perpendicular',
 272              // 'dotoperator',
 273              // 'leftceiling',
 274              // 'rightceiling',
 275              // 'leftfloor',
 276              // 'rightfloor',
 277              // 'leftpointinganglebracket',
 278              // 'rightpointinganglebracket',
 279              'lozenge',
 280              'blackspadesuit',
 281              'blackclubsuit',
 282              'blackheartsuit',
 283              'blackdiamondsuit',
 284              // 'enspace',
 285              // 'emspace',
 286              // 'thinspace',
 287              // 'zerowidthnonjoiner',
 288              // 'zerowidthjoiner',
 289              // 'lefttorightmark',
 290              // 'righttoleftmark',
 291              // 'softhyphen',
 292          ),
 293          'atto_charmap'
 294      );
 295  }


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