ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
example_014.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)
 
 $js
 

Variable Documentation

◆ $js

$js
Initial value:
= <<<EOD
function CheckField(name,message) {
var f = getField(name);
if(f.value == '') {
app.alert(message);
f.setFocus();
return false;
}
return true;
}
function Print() {
if(!CheckField('firstname','First name is mandatory')) {return;}
if(!CheckField('lastname','Last name is mandatory')) {return;}
if(!CheckField('gender','Gender is mandatory')) {return;}
if(!CheckField('address','Address is mandatory')) {return;}
print();
}
EOD
Definition: example_053.php:93

Definition at line 165 of file example_014.php.

Referenced by ilObjAdvancedEditing\_getRichTextEditor(), ComponentInstaller\Process\RequireJsProcess\aggregateScripts(), TCPDF\Button(), ilTemplate\getOnLoadCodeForAsynch(), ilPCQuestion\getQuestionJsOfPage(), ilLMPresentationGUI\ilJavaScript(), TCPDF\ListBox(), ilObjLinkResourceGUI\manage(), phorum_htmlpurifier_show_form(), ComponentInstaller\Test\Process\RequireJsProcessTest\providerRequireJs(), TCPDF\RadioButton(), ilPortfolioPageGUI\renderSkills(), ComponentInstaller\Process\RequireJsProcess\requireJs(), ilPageObjectGUI\showPage(), and TCPDF\TextField().

◆ $pdf

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

Definition at line 32 of file example_014.php.