2004-04-14 07:17:18 +00:00
|
|
|
<?xml version="1.0" encoding="iso-8859-1"?>
|
2004-12-28 09:24:31 +00:00
|
|
|
<!-- $Revision: 1.4 $ -->
|
|
|
|
<refentry id="function.xsl-xsltprocessor-has-exslt-support">
|
|
|
|
<refnamediv>
|
|
|
|
<refname>XSLTProcessor->hasExsltSupport()</refname>
|
|
|
|
<refpurpose>Determine if PHP has EXSLT support</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
|
|
&reftitle.description;
|
|
|
|
<classsynopsis>
|
|
|
|
<ooclass><classname>XSLTProcessor</classname></ooclass>
|
|
|
|
<methodsynopsis>
|
|
|
|
<type>bool</type>
|
|
|
|
<methodname>hasExsltSupport</methodname>
|
|
|
|
<void/>
|
|
|
|
</methodsynopsis>
|
|
|
|
</classsynopsis>
|
|
|
|
<para>
|
|
|
|
This method determine if PHP was built with the <ulink
|
|
|
|
url="&url.exsltlib;">EXSLT library</ulink>.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
|
|
&reftitle.returnvalues;
|
|
|
|
<para>
|
|
|
|
&return.success;
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
<refsect1 role="examples">
|
|
|
|
&reftitle.examples;
|
|
|
|
<para>
|
|
|
|
<example>
|
|
|
|
<title>Testing EXSLT support</title>
|
|
|
|
<programlisting role="php">
|
2004-08-01 15:37:41 +00:00
|
|
|
<![CDATA[
|
|
|
|
<?php
|
|
|
|
|
2004-12-28 09:24:31 +00:00
|
|
|
$proc = new XSLTProcessor;
|
2004-08-01 15:37:41 +00:00
|
|
|
if (!$proc->hasExsltSupport()) {
|
|
|
|
die('EXSLT support not available');
|
|
|
|
}
|
2004-04-14 07:17:18 +00:00
|
|
|
|
2004-08-01 15:37:41 +00:00
|
|
|
// do EXSLT stuff here ..
|
|
|
|
|
|
|
|
?>
|
|
|
|
]]>
|
2004-12-28 09:24:31 +00:00
|
|
|
</programlisting>
|
|
|
|
</example>
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
</refentry>
|
2004-04-14 07:17:18 +00:00
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|