Lines Matching refs:proc
40 $proc = new XSLTProcessor();
41 $proc->importStylesheet($xsl);
42 return $proc;
50 $proc = createProcessor(["foo:var_dump(string(@href))"]);
54 @$proc->transformToXml($inputdom);
61 $proc = createProcessor(["foo:var_dump(string(@href))"]);
62 $proc->registerPHPFunctionNS('urn:foo', 'var_dump', var_dump(...));
63 $proc->transformToXml($inputdom);
67 $proc = createProcessor(["foo:var_dump(string(@href))"]);
68 $proc->registerPHPFunctionNS('urn:foo', 'var_dump', 'var_dump');
69 $proc->transformToXml($inputdom);
73 $proc = createProcessor(["foo:trampoline(string(@href))"]);
74 $proc->registerPHPFunctionNS('urn:foo', 'trampoline', TrampolineClass::test(...));
75 var_dump($proc->transformToXml($inputdom));
80 $proc = createProcessor(["foo:test(string(@href))"]);
81 $proc->registerPHPFunctionNS('urn:foo', 'test', $state->test(...));
82 var_dump($proc->transformToXml($inputdom));
87 $proc = createProcessor(["foo:test(string(@href))", "bar:test(string(@href))"]);
88 $proc->registerPHPFunctionNS('urn:foo', 'test', strrev(...));
89 $proc->registerPHPFunctionNS('urn:bar', 'test', strtoupper(...));
90 var_dump($proc->transformToXml($inputdom));