20201112
This commit is contained in:
@@ -27,13 +27,13 @@
|
||||
// See LICENSE.TXT file for more information.
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
// Description : Example for tcpdf_barcodes_2d.php class
|
||||
// Description : Example for tcpdf_barcodes_1d.php class
|
||||
//
|
||||
//============================================================+
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Example for tcpdf_barcodes_2d.php class
|
||||
* Example for tcpdf_barcodes_1d.php class
|
||||
* @package com.tecnick.tcpdf
|
||||
* @author Nicola Asuni
|
||||
* @version 1.0.000
|
||||
|
||||
@@ -27,13 +27,13 @@
|
||||
// See LICENSE.TXT file for more information.
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
// Description : Example for tcpdf_barcodes_2d.php class
|
||||
// Description : Example for tcpdf_barcodes_1d.php class
|
||||
//
|
||||
//============================================================+
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Example for tcpdf_barcodes_2d.php class
|
||||
* Example for tcpdf_barcodes_1d.php class
|
||||
* @package com.tecnick.tcpdf
|
||||
* @author Nicola Asuni
|
||||
* @version 1.0.000
|
||||
|
||||
@@ -27,13 +27,13 @@
|
||||
// See LICENSE.TXT file for more information.
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
// Description : Example for tcpdf_barcodes_2d.php class
|
||||
// Description : Example for tcpdf_barcodes_1d.php class
|
||||
//
|
||||
//============================================================+
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Example for tcpdf_barcodes_2d.php class
|
||||
* Example for tcpdf_barcodes_1d.php class
|
||||
* @package com.tecnick.tcpdf
|
||||
* @author Nicola Asuni
|
||||
* @version 1.0.000
|
||||
|
||||
@@ -27,13 +27,13 @@
|
||||
// See LICENSE.TXT file for more information.
|
||||
// -------------------------------------------------------------------
|
||||
//
|
||||
// Description : Example for tcpdf_barcodes_2d.php class
|
||||
// Description : Example for tcpdf_barcodes_1d.php class
|
||||
//
|
||||
//============================================================+
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Example for tcpdf_barcodes_2d.php class
|
||||
* Example for tcpdf_barcodes_1d.php class
|
||||
* @package com.tecnick.tcpdf
|
||||
* @author Nicola Asuni
|
||||
* @version 1.0.000
|
||||
|
||||
@@ -24,7 +24,16 @@
|
||||
*/
|
||||
|
||||
// Include the TCPDF 1D barcode class (search the class on the following directories).
|
||||
$tcpdf_barcodes_1d_include_dirs = array(realpath('../../tcpdf_barcodes_1d.php'), '/usr/share/php/tcpdf/tcpdf_barcodes_1d.php', '/usr/share/tcpdf/tcpdf_barcodes_1d.php', '/usr/share/php-tcpdf/tcpdf_barcodes_1d.php', '/var/www/tcpdf/tcpdf_barcodes_1d.php', '/var/www/html/tcpdf/tcpdf_barcodes_1d.php', '/usr/local/apache2/htdocs/tcpdf/tcpdf_barcodes_1d.php');
|
||||
$tcpdf_barcodes_1d_include_dirs = array(
|
||||
realpath(dirname(__FILE__) . '/../../tcpdf_barcodes_1d.php'),// True source file
|
||||
realpath('../../tcpdf_barcodes_1d.php'),// Relative from $PWD
|
||||
'/usr/share/php/tcpdf/tcpdf_barcodes_1d.php',
|
||||
'/usr/share/tcpdf/tcpdf_barcodes_1d.php',
|
||||
'/usr/share/php-tcpdf/tcpdf_barcodes_1d.php',
|
||||
'/var/www/tcpdf/tcpdf_barcodes_1d.php',
|
||||
'/var/www/html/tcpdf/tcpdf_barcodes_1d.php',
|
||||
'/usr/local/apache2/htdocs/tcpdf/tcpdf_barcodes_1d.php'
|
||||
);
|
||||
foreach ($tcpdf_barcodes_1d_include_dirs as $tcpdf_barcodes_1d_include_path) {
|
||||
if (@file_exists($tcpdf_barcodes_1d_include_path)) {
|
||||
require_once($tcpdf_barcodes_1d_include_path);
|
||||
|
||||
@@ -24,7 +24,16 @@
|
||||
*/
|
||||
|
||||
// Include the TCPDF 2D barcode class (search the class on the following directories).
|
||||
$tcpdf_barcodes_2d_include_dirs = array(realpath('../../tcpdf_barcodes_2d.php'), '/usr/share/php/tcpdf/tcpdf_barcodes_2d.php', '/usr/share/tcpdf/tcpdf_barcodes_2d.php', '/usr/share/php-tcpdf/tcpdf_barcodes_2d.php', '/var/www/tcpdf/tcpdf_barcodes_2d.php', '/var/www/html/tcpdf/tcpdf_barcodes_2d.php', '/usr/local/apache2/htdocs/tcpdf/tcpdf_barcodes_2d.php');
|
||||
$tcpdf_barcodes_2d_include_dirs = array(
|
||||
realpath(dirname(__FILE__) . '/../../tcpdf_barcodes_2d.php'),// True source file
|
||||
realpath('../../tcpdf_barcodes_2d.php'),// Relative from $PWD
|
||||
'/usr/share/php/tcpdf/tcpdf_barcodes_2d.php',
|
||||
'/usr/share/tcpdf/tcpdf_barcodes_2d.php',
|
||||
'/usr/share/php-tcpdf/tcpdf_barcodes_2d.php',
|
||||
'/var/www/tcpdf/tcpdf_barcodes_2d.php',
|
||||
'/var/www/html/tcpdf/tcpdf_barcodes_2d.php',
|
||||
'/usr/local/apache2/htdocs/tcpdf/tcpdf_barcodes_2d.php'
|
||||
);
|
||||
foreach ($tcpdf_barcodes_2d_include_dirs as $tcpdf_barcodes_2d_include_path) {
|
||||
if (@file_exists($tcpdf_barcodes_2d_include_path)) {
|
||||
require_once($tcpdf_barcodes_2d_include_path);
|
||||
|
||||
16
vendor/tecnickcom/tcpdf/examples/example_010.php
vendored
16
vendor/tecnickcom/tcpdf/examples/example_010.php
vendored
@@ -35,10 +35,10 @@ class MC_TCPDF extends TCPDF {
|
||||
|
||||
/**
|
||||
* Print chapter
|
||||
* @param $num (int) chapter number
|
||||
* @param $title (string) chapter title
|
||||
* @param $file (string) name of the file containing the chapter body
|
||||
* @param $mode (boolean) if true the chapter body is in HTML, otherwise in simple text.
|
||||
* @param int $num chapter number
|
||||
* @param string $title chapter title
|
||||
* @param string $file name of the file containing the chapter body
|
||||
* @param boolean $mode if true the chapter body is in HTML, otherwise in simple text.
|
||||
* @public
|
||||
*/
|
||||
public function PrintChapter($num, $title, $file, $mode=false) {
|
||||
@@ -56,8 +56,8 @@ class MC_TCPDF extends TCPDF {
|
||||
|
||||
/**
|
||||
* Set chapter title
|
||||
* @param $num (int) chapter number
|
||||
* @param $title (string) chapter title
|
||||
* @param int $num chapter number
|
||||
* @param string $title chapter title
|
||||
* @public
|
||||
*/
|
||||
public function ChapterTitle($num, $title) {
|
||||
@@ -69,8 +69,8 @@ class MC_TCPDF extends TCPDF {
|
||||
|
||||
/**
|
||||
* Print chapter body
|
||||
* @param $file (string) name of the file containing the chapter body
|
||||
* @param $mode (boolean) if true the chapter body is in HTML, otherwise in simple text.
|
||||
* @param string $file name of the file containing the chapter body
|
||||
* @param boolean $mode if true the chapter body is in HTML, otherwise in simple text.
|
||||
* @public
|
||||
*/
|
||||
public function ChapterBody($file, $mode=false) {
|
||||
|
||||
BIN
vendor/tecnickcom/tcpdf/examples/images/logo.png
vendored
BIN
vendor/tecnickcom/tcpdf/examples/images/logo.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 38 KiB |
Reference in New Issue
Block a user