ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
example_053.php File Reference

Go to the source code of this file.

Namespaces

 com\tecnick\tcpdf
 Configuration file for TCPDF.
 

Variables

 $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false)
 
 $text = 'This is an example of <strong>JavaScript</strong> usage on PDF documents.<br /><br />For more information check the source code of this example, the source code documentation for the <i>IncludeJS()</i> method and the <i>JavaScript for Acrobat API Reference</i> guide.<br /><br /><a href="http://www.tcpdf.org">www.tcpdf.org</a>'
 
 $js
 
 cResponse
 
if(cResponse==null) else
 
 EOD
 

Variable Documentation

◆ $js

$js
Initial value:
= <<<EOD
app.alert('JavaScript Popup Example', 3, 0, 'Welcome')
EOD
Definition: example_053.php:93

Definition at line 80 of file example_053.php.

◆ $pdf

$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false)

Definition at line 31 of file example_053.php.

◆ $text

$text = 'This is an example of <strong>JavaScript</strong> usage on PDF documents.<br /><br />For more information check the source code of this example, the source code documentation for the <i>IncludeJS()</i> method and the <i>JavaScript for Acrobat API Reference</i> guide.<br /><br /><a href="http://www.tcpdf.org">www.tcpdf.org</a>'

Definition at line 76 of file example_053.php.

◆ cResponse

cResponse
Initial value:
= app.response({
cQuestion: 'How are you today?',
cTitle: 'Your Health Status',
cDefault: 'Fine',
cLabel: 'Response:'
})

Definition at line 82 of file example_053.php.

◆ else

if (cResponse==null) else
Initial value:
{
app.alert('You responded, "'+cResponse+'", to the health question.', 3, 0, 'Result')
cResponse
Definition: example_053.php:82

Definition at line 90 of file example_053.php.

◆ EOD