|
| process (array $args, array $params) |
|
◆ process()
ilCertificateXlstProcess::process |
( |
array |
$args, |
|
|
array |
$params |
|
) |
| |
- Parameters
-
array{"/_xsl" | string, "/_xml": string} $args |
array<string,scalar> | $params |
Definition at line 27 of file class.ilCertificateXlstProcess.php.
29 $processor =
new XSLTProcessor();
31 $xslt_domdoc =
new DomDocument();
32 $xslt_domdoc->loadXML($args[
'/_xsl']);
33 $processor->importStyleSheet($xslt_domdoc);
35 foreach (
$params as $key => $value) {
36 $processor->setParameter(
'', $key, (
string) $value);
39 $xml_domdoc =
new DomDocument();
40 $xml_domdoc->loadXML($args[
'/_xml']);
42 return $processor->transformToXML($xml_domdoc);
if(! $DIC->user() ->getId()||!ilLTIConsumerAccess::hasCustomProviderCreationAccess()) $params
The documentation for this class was generated from the following file: