11 $xlstProcess = $this->getMockBuilder(
'ilCertificateXlstProcess')
17 $formFields =
$parser->fetchDefaultFormFields($content);
22 'pagewidth' =>
'21cm',
23 'pageheight' =>
'29.7cm',
24 'margin_body_top' =>
'0cm',
25 'margin_body_right' =>
'2cm',
26 'margin_body_bottom' =>
'0cm',
27 'margin_body_left' =>
'2cm',
28 'certificate_text' =>
'' 36 $xlstProcess = $this->getMockBuilder(
'ilCertificateXlstProcess')
40 ->expects($this->
once())
43 $content =
'page-width="210mm" page-height="310mm" <fo:region-body margin="1cm 2cm 3cm 4cm"/>';
46 $formFields =
$parser->fetchDefaultFormFields($content);
50 'pageformat' =>
'custom',
51 'pagewidth' =>
'210mm',
52 'pageheight' =>
'310mm',
53 'margin_body_top' =>
'1cm',
54 'margin_body_right' =>
'2cm',
55 'margin_body_bottom' =>
'3cm',
56 'margin_body_left' =>
'4cm',
57 'certificate_text' =>
'' 65 $xlstProcess = $this->getMockBuilder(
'ilCertificateXlstProcess')
69 ->expects($this->
once())
72 $content =
'page-width="14.8cm" page-height="21cm" <fo:region-body margin="1cm 2cm 3cm 4cm"/>';
75 $formFields =
$parser->fetchDefaultFormFields($content);
80 'pagewidth' =>
'14.8cm',
81 'pageheight' =>
'21cm',
82 'margin_body_top' =>
'1cm',
83 'margin_body_right' =>
'2cm',
84 'margin_body_bottom' =>
'3cm',
85 'margin_body_left' =>
'4cm',
86 'certificate_text' =>
'' 94 $xlstProcess = $this->getMockBuilder(
'ilCertificateXlstProcess')
98 ->expects($this->
once())
101 $content =
'page-width="21cm" page-height="14.8cm" <fo:region-body margin="1cm 2cm 3cm 4cm"/>';
104 $formFields =
$parser->fetchDefaultFormFields($content);
108 'pageformat' =>
'a5landscape',
109 'pagewidth' =>
'21cm',
110 'pageheight' =>
'14.8cm',
111 'margin_body_top' =>
'1cm',
112 'margin_body_right' =>
'2cm',
113 'margin_body_bottom' =>
'3cm',
114 'margin_body_left' =>
'4cm',
115 'certificate_text' =>
'' 123 $xlstProcess = $this->getMockBuilder(
'ilCertificateXlstProcess')
127 ->expects($this->
once())
130 $content =
'page-width="29.7cm" page-height="21cm" <fo:region-body margin="1cm 2cm 3cm 4cm"/>';
133 $formFields =
$parser->fetchDefaultFormFields($content);
137 'pageformat' =>
'a4landscape',
138 'pagewidth' =>
'29.7cm',
139 'pageheight' =>
'21cm',
140 'margin_body_top' =>
'1cm',
141 'margin_body_right' =>
'2cm',
142 'margin_body_bottom' =>
'3cm',
143 'margin_body_left' =>
'4cm',
144 'certificate_text' =>
'' 152 $xlstProcess = $this->getMockBuilder(
'ilCertificateXlstProcess')
156 ->expects($this->
once())
159 $content =
'page-width="11in" page-height="8.5in" <fo:region-body margin="1cm 2cm 3cm 4cm"/>';
162 $formFields =
$parser->fetchDefaultFormFields($content);
166 'pageformat' =>
'letterlandscape',
167 'pagewidth' =>
'11in',
168 'pageheight' =>
'8.5in',
169 'margin_body_top' =>
'1cm',
170 'margin_body_right' =>
'2cm',
171 'margin_body_bottom' =>
'3cm',
172 'margin_body_left' =>
'4cm',
173 'certificate_text' =>
'' 181 $xlstProcess = $this->getMockBuilder(
'ilCertificateXlstProcess')
185 ->expects($this->
once())
188 $content =
'page-width="8.5in" page-height="11in" <fo:region-body margin="1cm 2cm 3cm 4cm"/>';
191 $formFields =
$parser->fetchDefaultFormFields($content);
195 'pageformat' =>
'letter',
196 'pagewidth' =>
'8.5in',
197 'pageheight' =>
'11in',
198 'margin_body_top' =>
'1cm',
199 'margin_body_right' =>
'2cm',
200 'margin_body_bottom' =>
'3cm',
201 'margin_body_left' =>
'4cm',
202 'certificate_text' =>
''
once($eventName, callable $callBack, $priority=100)
Subscribe to an event exactly once.