cvs: phpdoc /en/reference/info/functions restore-include-path.xml set-include-path.xml

From: Date: Fri, 16 May 2003 03:06:25 +0000
Subject: cvs: phpdoc /en/reference/info/functions restore-include-path.xml set-include-path.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353491@lists.php.net to get a copy of this message
philip Thu May 15 23:06:25 2003 EDT Added files: /phpdoc/en/reference/info/functions set-include-path.xml restore-include-path.xml Log: Initial documentation. Index: phpdoc/en/reference/info/functions/set-include-path.xml +++ phpdoc/en/reference/info/functions/set-include-path.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.set-include-path"> <refnamediv> <refname>set_include_path</refname> <refpurpose> Sets the include_path configuration option </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>string</type><methodname>set_include_path</methodname> <methodparam><type>string</type><parameter>new_include_path</parameter></methodparam> </methodsynopsis> <simpara> Sets the <link linkend="ini.include-path">include_path</link> configuration option for the duration of the script. Returns the old <link linkend="ini.include-path">include_path</link> on success or &false; on failure. </simpara> <para> <example> <title>Example use of <function>set_include_path</function></title> <programlisting role="php"> <![CDATA[ <?php // Works as of PHP 4.3.0 set_include_path('/inc'); // Works in all PHP versions ini_set('include_path', '/inc'); ?> ]]> </programlisting> </example> </para> <simpara> See also <function>ini_set</function>, <function>get_include_path</function>, <function>restore_include_path</function>, and <function>include</function>. </simpara> </refsect1> </refentry> <!-- 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 --> Index: phpdoc/en/reference/info/functions/restore-include-path.xml +++ phpdoc/en/reference/info/functions/restore-include-path.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.restore-include-path"> <refnamediv> <refname>restore_include_path</refname> <refpurpose> Restores the value of the include_path configuration option </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> <type>void</type><methodname>restore_include_path</methodname> <void /> </methodsynopsis> <simpara> Restores the <link linkend="ini.include-path">include_path</link> configuration option back to its original master value as set in &php.ini; </simpara> <para> <example> <title>Example use of <function>restore_include_path</function></title> <programlisting role="php"> <![CDATA[ <?php print get_include_path(); // .:/usr/local/lib/php set_include_path('/inc'); print get_include_path(); // /inc // Works as of PHP 4.3.0 restore_include_path(); // Works in all PHP versions ini_restore('include_path'); print get_include_path(); // .:/usr/local/lib/php ?> ]]> </programlisting> </example> </para> <simpara> See also <function>ini_restore</function>, <function>set_include_path</function>, <function>get_include_path</function>, and <function>include</function>. </simpara> </refsect1> </refentry> <!-- 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 -->

« previous php.doc (#969353491) next »