ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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,
24 $params
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()