mirror of
https://github.com/vdm-io/tcpdf.git
synced 2024-11-22 04:45:17 +00:00
set the update server, and fixed some readme text
This commit is contained in:
parent
050f6c079a
commit
d1368b3a05
14
README.md
14
README.md
@ -46,19 +46,19 @@ Copyright (c) 2002-2015:
|
|||||||
> Compiled into an installer for Joomla 3 by [Llewellyn van der Merwe] (mailto:joomla@vdm.io) at [Vast Development Method] (https://www.vdm.io/)
|
> Compiled into an installer for Joomla 3 by [Llewellyn van der Merwe] (mailto:joomla@vdm.io) at [Vast Development Method] (https://www.vdm.io/)
|
||||||
|
|
||||||
# Usage in Joomla (PHP)
|
# Usage in Joomla (PHP)
|
||||||
`
|
```php
|
||||||
// Import TCPDF library
|
// Import TCPDF library
|
||||||
jimport('tcpdf.tcpdf');
|
jimport('tcpdf.tcpdf');
|
||||||
`
|
```
|
||||||
or
|
or
|
||||||
`
|
```php
|
||||||
// Import TCPDF library
|
// Import TCPDF library
|
||||||
require_once JPATH_LIBRARIES . '/tcpdf/tcpdf.php';
|
require_once JPATH_LIBRARIES . '/tcpdf/tcpdf.php';
|
||||||
`
|
```
|
||||||
Now you can create a new PDF document:
|
Now you can create a new PDF document:
|
||||||
'
|
```php
|
||||||
$pdf = new TCPDF();
|
$pdf = new TCPDF();
|
||||||
'
|
```
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
+ [Source Code Documentation] (http://www.tcpdf.org)
|
+ [Source Code Documentation] (http://www.tcpdf.org)
|
||||||
@ -68,4 +68,4 @@ $pdf = new TCPDF();
|
|||||||
This library is integrated with Joomla's automatic updates. Before updating it's mandatory that you check that your documents still work as expected.
|
This library is integrated with Joomla's automatic updates. Before updating it's mandatory that you check that your documents still work as expected.
|
||||||
|
|
||||||
# License
|
# License
|
||||||
TCPDF is licensed under LGPL ([GNU LESSER GENERAL PUBLIC LICENSE] (https://github.com/tecnickcom/TCPDF/blob/develop/LICENSE.TXT))
|
TCPDF is licensed under LGPL ([GNU LESSER GENERAL PUBLIC LICENSE] (https://github.com/vdm-io/tcpdf/blob/master/tcpdf/LICENSE.TXT))
|
@ -14,4 +14,11 @@
|
|||||||
<files>
|
<files>
|
||||||
<folder>tcpdf</folder>
|
<folder>tcpdf</folder>
|
||||||
</files>
|
</files>
|
||||||
|
|
||||||
|
<updateservers>
|
||||||
|
<server type="extension" priority="2"
|
||||||
|
name="TCPDF-Joomla-Library Update Server">http://raw.githubusercontent.com/vdm-io/tcpdf/master/updates/extension.xml</server>
|
||||||
|
<server type="extension" priority="1"
|
||||||
|
name="TCPDF-Joomla-Library Update Server (HTTPS)">https://raw.githubusercontent.com/vdm-io/tcpdf/master/updates/extension.xml</server>
|
||||||
|
</updateservers>
|
||||||
</extension>
|
</extension>
|
Loading…
Reference in New Issue
Block a user