cvs: peardoc /en/package/php/php-compatinfo/php-compatinfo loadversion.xml parsearray.xml parsedir.xml parsefile.xml parsefolder.xml parsestring.xml

From: Date: Tue, 22 Jan 2008 18:50:55 +0000
Subject: cvs: peardoc /en/package/php/php-compatinfo/php-compatinfo loadversion.xml parsearray.xml parsedir.xml parsefile.xml parsefolder.xml parsestring.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-10423@lists.php.net to get a copy of this message
farell Tue Jan 22 18:50:55 2008 UTC Added files: /peardoc/en/package/php/php-compatinfo/php-compatinfo loadversion.xml parsearray.xml parsedir.xml parsefile.xml parsefolder.xml parsestring.xml Log: initial commit : public API

http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/php-compatinfo/loadversion.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo/loadversion.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo/loadversion.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo.loadversion"> <refnamediv> <refname><function>PHP_CompatInfo::loadVersion</function></refname> <refpurpose>Load components list</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>array <function>PHP_CompatInfo::loadVersion</function></funcdef> <paramdef>string <parameter>$min</parameter></paramdef> <paramdef>string|boolean <parameter> <optional>$max = &false;</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo.loadversion.desc"> &title.desc; <para> Load components list for a PHP version or subset </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.loadversion.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$min</parameter> </term> <listitem> <para> PHP minimal version </para> </listitem> </varlistentry> <varlistentry> <term> <type>string|boolean</type> <parameter>$max</parameter> </term> <listitem> <para> (optional) PHP maximal version </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.loadversion.returns"> &title.returns; <para> <emphasis>returns</emphasis> An array of php function names to ignore </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.loadversion.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.loadversion.since"> &title.since; <para> <emphasis>since</emphasis> version 1.2.0 (2006-08-23) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.loadversion.note"> &title.note; &note.notstatic; </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 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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/php-compatinfo/parsearray.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo/parsearray.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo/parsearray.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo.parsearray"> <refnamediv> <refname><function>PHP_CompatInfo::parseArray</function></refname> <refpurpose>Parse an Array of Files</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef><replaceable>array|&false;</replaceable> <function>PHP_CompatInfo::parseArray</function></funcdef> <paramdef>array <parameter>$files</parameter></paramdef> <paramdef>array <parameter> <optional>$options = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsearray.desc"> &title.desc; <para> You can parse an array of Files or Strings. To parse strings, $options[&apos;is_string&apos;] must be set to true </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsearray.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.array; <parameter>$files</parameter> </term> <listitem> <para> Array of file names or code strings </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$options</parameter> </term> <listitem> <para> An array of options where: <itemizedlist> <listitem> <para><emphasis>file_ext</emphasis> Contains an array of file extensions to parse for PHP code. Default: php, php4, inc, phtml </para> </listitem> <listitem> <para><emphasis>debug</emphasis> Contains a boolean to control whether extra ouput is shown. </para> </listitem> <listitem> <para><emphasis>ignore_functions</emphasis> Contains an array of functions to ignore when calculating the version needed. </para> </listitem> <listitem> <para><emphasis>ignore_constants</emphasis> Contains an array of constants to ignore when calculating the version needed. </para> </listitem> <listitem> <para><emphasis>ignore_files</emphasis> Contains an array of files to ignore. File names are case insensitive. </para> </listitem> <listitem> <para><emphasis>is_string</emphasis> Contains a boolean which says if the array values are strings or file names. </para> </listitem> <listitem> <para><emphasis>ignore_extensions</emphasis> Contains an array of php extensions to ignore when calculating the version needed. </para> </listitem> <listitem> <para><emphasis>ignore_versions</emphasis> Contains an array of php versions to ignore when calculating the version needed. </para> </listitem> </itemizedlist> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsearray.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsearray.since"> &title.since; <para> <emphasis>since</emphasis> version 0.7.0 (2004-03-09) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsearray.note"> &title.note; &note.notstatic; </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 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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/php-compatinfo/parsedir.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo/parsedir.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo/parsedir.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo.parsedir"> <refnamediv> <refname><function>PHP_CompatInfo::parseDir</function></refname> <refpurpose>Parse a directory</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>array <function>PHP_CompatInfo::parseDir</function></funcdef> <paramdef>string <parameter>$dir</parameter></paramdef> <paramdef>array <parameter> <optional>$options = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsedir.desc"> &title.desc; <para> Parse a directory recursively for its compatibility info </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsedir.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$dir</parameter> </term> <listitem> <para> Path of folder to parse </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$options</parameter> </term> <listitem> <para> An array of options where: <itemizedlist> <listitem> <para><emphasis>file_ext</emphasis> Contains an array of file extensions to parse for PHP code. Default: php, php4, inc, phtml </para> </listitem> <listitem> <para><emphasis>recurse_dir</emphasis> Boolean on whether to recursively find files </para> </listitem> <listitem> <para><emphasis>debug</emphasis> Contains a boolean to control whether extra ouput is shown. </para> </listitem> <listitem> <para><emphasis>ignore_functions</emphasis> Contains an array of functions to ignore when calculating the version needed. </para> </listitem> <listitem> <para><emphasis>ignore_constants</emphasis> Contains an array of constants to ignore when calculating the version needed. </para> </listitem> <listitem> <para><emphasis>ignore_files</emphasis> Contains an array of files to ignore. File names are case insensitive. </para> </listitem> <listitem> <para><emphasis>ignore_dirs</emphasis> Contains an array of directories to ignore. Directory names are case insensitive. </para> </listitem> <listitem> <para><emphasis>ignore_extensions</emphasis> Contains an array of php extensions to ignore when calculating the version needed. </para> </listitem> <listitem> <para><emphasis>ignore_versions</emphasis> Contains an array of php versions to ignore when calculating the version needed. </para> </listitem> </itemizedlist> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsedir.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsedir.see"> &title.see; <para> <emphasis>see</emphasis> <link linkend="package.php.php-compatinfo.php-compatinfo.parsefolder"> <function>PHP_CompatInfo::parseFolder</function> </link> </para> <para> <emphasis>see</emphasis> PHP_CompatInfo::_fileList() </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsedir.since"> &title.since; <para> <emphasis>since</emphasis> version 0.8.0 (2004-04-22) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsedir.note"> &title.note; &note.notstatic; </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 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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/php-compatinfo/parsefile.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo/parsefile.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo/parsefile.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo.parsefile"> <refnamediv> <refname><function>PHP_CompatInfo::parseFile</function></refname> <refpurpose>Parse a single file</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>Array <function>PHP_CompatInfo::parseFile</function></funcdef> <paramdef>string <parameter>$file</parameter></paramdef> <paramdef>array <parameter> <optional>$options = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsefile.desc"> &title.desc; <para> Parse a file for its compatibility info </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsefile.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$file</parameter> </term> <listitem> <para> Path of File to parse </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$options</parameter> </term> <listitem> <para> An array of options where: <itemizedlist> <listitem> <para><emphasis>debug</emphasis> Contains a boolean to control whether extra ouput is shown. </para> </listitem> <listitem> <para><emphasis>ignore_functions</emphasis> Contains an array of functions to ignore when calculating the version needed. </para> </listitem> <listitem> <para><emphasis>ignore_constants</emphasis> Contains an array of constants to ignore when calculating the version needed. </para> </listitem> <listitem> <para><emphasis>ignore_extensions</emphasis> Contains an array of php extensions to ignore when calculating the version needed. </para> </listitem> <listitem> <para><emphasis>ignore_versions</emphasis> Contains an array of php versions to ignore when calculating the version needed. </para> </listitem> </itemizedlist> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsefile.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsefile.since"> &title.since; <para> <emphasis>since</emphasis> version 0.7.0 (2004-03-09) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsefile.note"> &title.note; &note.notstatic; </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 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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/php-compatinfo/parsefolder.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo/parsefolder.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo/parsefolder.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo.parsefolder"> <refnamediv> <refname><function>PHP_CompatInfo::parseFolder</function></refname> <refpurpose>Alias of parseDir</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>void <function>PHP_CompatInfo::parseFolder</function></funcdef> <paramdef>string <parameter>$folder</parameter></paramdef> <paramdef>array <parameter> <optional>$options = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsefolder.desc"> &title.desc; <para> Alias of parseDir function </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsefolder.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$folder</parameter> </term> <listitem> <para> Path of folder to parse </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$options</parameter> </term> <listitem> <para> An array of options </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsefolder.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsefolder.see"> &title.see; <para> <emphasis>see</emphasis> <link linkend="package.php.php-compatinfo.php-compatinfo.parsedir"> <function>PHP_CompatInfo::parseDir</function> </link> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsefolder.since"> &title.since; <para> <emphasis>since</emphasis> version 0.7.0 (2004-03-09) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsefolder.note"> &title.note; &note.notstatic; </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 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 --> http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/php-compatinfo/parsestring.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo/parsestring.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo/parsestring.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo.parsestring"> <refnamediv> <refname><function>PHP_CompatInfo::parseString</function></refname> <refpurpose>Parse a string</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef>Array <function>PHP_CompatInfo::parseString</function></funcdef> <paramdef>string <parameter>$string</parameter></paramdef> <paramdef>array <parameter> <optional>$options = array()</optional></parameter></paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsestring.desc"> &title.desc; <para> Parse a string for its compatibility info </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsestring.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$string</parameter> </term> <listitem> <para> PHP Code to parses </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$options</parameter> </term> <listitem> <para> An array of options where: <itemizedlist> <listitem> <para><emphasis>debug</emphasis> Contains a boolean to control whether extra ouput is shown. </para> </listitem> <listitem> <para><emphasis>ignore_functions</emphasis> Contains an array of functions to ignore when calculating the version needed. </para> </listitem> <listitem> <para><emphasis>ignore_constants</emphasis> Contains an array of constants to ignore when calculating the version needed. </para> </listitem> <listitem> <para><emphasis>ignore_extensions</emphasis> Contains an array of php extensions to ignore when calculating the version needed. </para> </listitem> <listitem> <para><emphasis>ignore_versions</emphasis> Contains an array of php versions to ignore when calculating the version needed. </para> </listitem> </itemizedlist> </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsestring.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsestring.since"> &title.since; <para> <emphasis>since</emphasis> version 0.7.0 (2004-03-09) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo.parsestring.note"> &title.note; &note.notstatic; </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 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.pear.doc (#10423) next »