MDL-52312 assignfeedback_editpdf: changes to files after FPDI update

1) Change the fpdi_bridge class so that it extends the pdf class,
rather than the TCPDF class.
2) Updated the editpdf/fpdi/readme_moodle.txt file to document the changes.
3) Updated the editpdf/thirdpartylibs.xml to reflect the update to the
FPDI library.
This commit is contained in:
Mark Nelson 2015-12-04 20:12:49 +08:00
parent f970013b16
commit c319e44954
3 changed files with 14 additions and 5 deletions

View file

@ -29,8 +29,10 @@ if (!class_exists('TCPDF', false)) {
/**
* Class fpdi_bridge
*
* This has been modified to use the Moodle pdf class which in turn extends the TCPDF class.
*/
class fpdi_bridge extends TCPDF
class fpdi_bridge extends pdf
{
/**
* Array of Tpl-Data

View file

@ -10,7 +10,7 @@ Information
URL: http://www.setasign.de/products/pdf-php-solutions/fpdi/
Download from: http://www.setasign.de/products/pdf-php-solutions/fpdi/downloads
Documentation: http://www.setasign.de/products/pdf-php-solutions/fpdi/manuals/
License: Apache Software License 2.0
License: The MIT License (MIT)
Installation
------------
@ -19,6 +19,13 @@ Installation
3) Update mod/assign/feedback/editpdf/fpdi/fpdi_bridge.php (or the replacement file) to extend 'pdf' instead of 'TCPDF'.
4) Make a note below of any changes made.
2015/12/04
----------
Updated to FPDI: 1.6.1
1) Changed 'TCPDF' to 'pdf' (as stated above).
2) License changed from Apache Software License 2.0 to The MIT License (MIT).
2015/10/01
----------
Updated to FPDI: 1.5.4

View file

@ -3,8 +3,8 @@
<library>
<location>fpdi</location>
<name>FPDI</name>
<license>Apache</license>
<version>1.5.4</version>
<licenseversion>2.0</licenseversion>
<license>MIT</license>
<version>1.6.1</version>
<licenseversion></licenseversion>
</library>
</libraries>