ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
class.ilCertificateXlstProcess.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
8{
14 public function process(array $args, array $params) : string
15 {
16 $xh = xslt_create();
17
18 $output = xslt_process(
19 $xh,
20 "arg:/_xml",
21 "arg:/_xsl",
22 null,
23 $args,
25 );
26
27 xslt_error($xh);
28 xslt_free($xh);
29
30 return $output;
31 }
32}
An exception for terminatinating execution or to throw for unit testing.
process(array $args, array $params)
xslt_error(&$proc)
xslt_free(&$proc)
xslt_create()