MDL-38373 Use correct PEAR->loadExtension()
[moodle.git] / lib / pear / README_MOODLE.txt
blobf80418478b19c02779d14f27af0a84dda51e8cf6
1 MOODLE-SPECIFIC PEAR MODIFICATIONS
2 ==================================
4 Auth/RADIUS
5 ===========
7 1/ Changed static call to correct alternative (MDL-38373):
8     - From: PEAR::loadExtension('radius'); (in global scope)
9     - To: $this->loadExtension('radius'); (in constructor)
11 Spreadsheet/Excel
12 =================
14 1/ These functions:
15     _calculateSharedStringsSizes()
16     _storeSharedStringsTable()
17 have been inserted, replacing the original functions in order to make the function
18 work with 2-byte data.  The patch is discussed at this URL:
19     http://pear.php.net/bugs/bug.php?id=1572
20 and documented for Moodle at:
21     http://tracker.moodle.org/browse/MDL-9911
23 2/ Changed ereg_ to preg_
24 * http://cvs.moodle.org/moodle/lib/excel/Parser.php.diff?r1=1.1&r2=1.2
25 * http://cvs.moodle.org/moodle/lib/excel/Worksheet.php.diff?r1=1.1&r2=1.2
27 3/ removed deprecated "=& new"
29 4/ MDL-20876 - replaced deprecated split() with explode() or str_split() where appropriate
31 Such modifications should be carefully each time the Excel PEAR package is updated
32 to a new release within Moodle.
34 5/ static keywords in OLE.php
35 * static function Asc2Ucs()
36 * static function LocalDate2OLE()
38 XML/Parser
39 =================
40 1/ changed ereg_ to preg_
41 * http://cvs.moodle.org/moodle/lib/pear/XML/Parser.php.diff?r1=1.1&r2=1.2
44 Quickforms
45 ==========
46 Full of our custom hacks, no way to upgrade to latest upstream.
47 Most probably we will stop using this library in the future.
49 MDL-20876 - replaced split() with explode() or preg_split() where appropriate