cvs: peardoc /en/package/php/php-compatinfo/php-compatinfo-parser addlistener.xml getdirlist.xml getfilelist.xml getignoredfiles.xml loadversion.xml
parsedata.xml php-compatinfo-parser.xml removelistener.xml setoutputdriver.xml

From: Date: Mon, 07 Jul 2008 20:52:57 +0000
Subject: cvs: peardoc /en/package/php/php-compatinfo/php-compatinfo-parser addlistener.xml getdirlist.xml getfilelist.xml getignoredfiles.xml loadversion.xml
parsedata.xml php-compatinfo-parser.xml removelistener.xml setoutputdriver.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-10982@lists.php.net to get a copy of this message
farell Mon Jul 7 20:52:57 2008 UTC Added files: /peardoc/en/package/php/php-compatinfo/php-compatinfo-parser addlistener.xml getdirlist.xml getfilelist.xml getignoredfiles.xml loadversion.xml parsedata.xml php-compatinfo-parser.xml removelistener.xml setoutputdriver.xml Log: parser logic -initial commit

http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/addlistener.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/addlistener.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/addlistener.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo-parser.addlistener"> <refnamediv> <refname> <function>PHP_CompatInfo_Parser::addListener</function> </refname> <refpurpose>Registers a new listener</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo/Parser.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef> void <function>PHP_CompatInfo_Parser::addListener</function> </funcdef> <paramdef> mixed <parameter>$callback</parameter> </paramdef> <paramdef> string <parameter> <optional>$nName = EVENT_DISPATCHER_GLOBAL</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.addlistener.desc"> &title.desc; <para> Registers a new listener with the given criteria. </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.addlistener.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.mixed; <parameter>$callback</parameter> </term> <listitem> <para> A PHP callback </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$nName</parameter> </term> <listitem> <para> (optional) Expected notification name </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.addlistener.returns"> &title.returns; <para> <emphasis>returns</emphasis> void </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.addlistener.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.addlistener.since"> &title.since; <para> <emphasis>since</emphasis> version 1.8.0b2 (2008-06-03) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.addlistener.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.addlistener.example"> &title.example; <para> <emphasis>see</emphasis> <link linkend="package.php.php-compatinfo.php-compatinfo.addlistener.example"> <function>PHP_CompatInfo::addListener</function> </link> example </para> </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-parser/getdirlist.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/getdirlist.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/getdirlist.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo-parser.getdirlist"> <refnamediv> <refname> <function>PHP_CompatInfo_Parser::getDirlist</function> </refname> <refpurpose>Returns list of directory parsed</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo/Parser.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef> array <function>PHP_CompatInfo_Parser::getDirlist</function> </funcdef> <paramdef> mixed <parameter>$dir</parameter> </paramdef> <paramdef> array <parameter>$options</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getdirlist.desc"> &title.desc; <para> Returns list of directory parsed, depending of restrictive parser options. </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getdirlist.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.mixed; <parameter>$dir</parameter> </term> <listitem> <para> The directory name </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$options</parameter> </term> <listitem> <para> An array of parser options. See parseData() method. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getdirlist.returns"> &title.returns; <para> <emphasis>returns</emphasis> array - list of directories that should be parsed </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getdirlist.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getdirlist.since"> &title.since; <para> <emphasis>since</emphasis> version 1.8.0b2 (2008-06-03) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getdirlist.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-parser/getfilelist.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/getfilelist.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/getfilelist.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo-parser.getfilelist"> <refnamediv> <refname> <function>PHP_CompatInfo_Parser::getFilelist</function> </refname> <refpurpose>Returns list of files parsed</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo/Parser.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef> array <function>PHP_CompatInfo_Parser::getFilelist</function> </funcdef> <paramdef> mixed <parameter>$dir</parameter> </paramdef> <paramdef> array <parameter>$options</parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getfilelist.desc"> &title.desc; <para> Returns list of files parsed, depending of restrictive parser options. </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getfilelist.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.mixed; <parameter>$dir</parameter> </term> <listitem> <para> The directory name where to look files </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$options</parameter> </term> <listitem> <para> An array of parser options. See parseData() method. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getfilelist.returns"> &title.returns; <para> <emphasis>returns</emphasis> array - list of files that should be parsed </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getfilelist.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getfilelist.since"> &title.since; <para> <emphasis>since</emphasis> version 1.8.0b2 (2008-06-03) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getfilelist.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-parser/getignoredfiles.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/getignoredfiles.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/getignoredfiles.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo-parser.getignoredfiles"> <refnamediv> <refname> <function>PHP_CompatInfo_Parser::getIgnoredFiles</function> </refname> <refpurpose>Returns list of files ignored</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo/Parser.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef> array <function>PHP_CompatInfo_Parser::getIgnoredFiles</function> </funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getignoredfiles.desc"> &title.desc; <para> Returns list of files ignored while parsing directories </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getignoredfiles.returns"> &title.returns; <para> <emphasis>returns</emphasis> array or false on error </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getignoredfiles.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getignoredfiles.since"> &title.since; <para> <emphasis>since</emphasis> version 1.8.0b2 (2008-06-03) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.getignoredfiles.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-parser/loadversion.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/loadversion.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/loadversion.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo-parser.loadversion"> <refnamediv> <refname> <function>PHP_CompatInfo_Parser::loadVersion</function> </refname> <refpurpose>Load components list</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo/Parser.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef> array <function>PHP_CompatInfo_Parser::loadVersion</function> </funcdef> <paramdef> string <parameter>$min</parameter> </paramdef> <paramdef> string|boolean <parameter> <optional>$max = &false;</optional> </parameter> </paramdef> <paramdef> boolean <parameter> <optional>$include_const = &false;</optional> </parameter> </paramdef> <paramdef> boolean <parameter> <optional>$groupby_vers = &false;</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.loadversion.desc"> &title.desc; <para> Load components list for a PHP version or subset </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.loadversion.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$min</parameter> </term> <listitem> <para> PHP minimal version </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> <type>string|boolean</type> <parameter>$max</parameter> </term> <listitem> <para> (optional) PHP maximal version </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.bool; <parameter>$include_const</parameter> </term> <listitem> <para> (optional) include constants list in final result </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.bool; <parameter>$groupby_vers</parameter> </term> <listitem> <para> (optional) give initial php version of function or constant </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.loadversion.returns"> &title.returns; <para> <emphasis>returns</emphasis> An array of php function/constant names history </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.loadversion.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.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-parser.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-parser/parsedata.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/parsedata.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/parsedata.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo-parser.parsedata"> <refnamediv> <refname> <function>PHP_CompatInfo_Parser::parseData</function> </refname> <refpurpose>Parse a data source</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo/Parser.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef> array <function>PHP_CompatInfo_Parser::parseData</function> </funcdef> <paramdef> mixed <parameter>$dataSource</parameter> </paramdef> <paramdef> array <parameter> <optional>$options = array()</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.parsedata.desc"> &title.desc; <para> Parse a data source with auto detect ability. This data source, may be one of these follows: a directory, a file, a string (chunk of code), an array of multiple origin. </para> <para> Each of five parsing functions support common and specifics options. </para> <para> * Common options : <itemizedlist> <listitem> <para> &apos;debug&apos; Contains a boolean to control whether extra ouput is shown. </para> </listitem> <listitem> <para> &apos;ignore_functions&apos; Contains an array of functions to ignore when calculating the version needed. </para> </listitem> <listitem> <para> &apos;ignore_constants&apos; Contains an array of constants to ignore when calculating the version needed. </para> </listitem> <listitem> <para> &apos;ignore_extensions&apos; Contains an array of php extensions to ignore when calculating the version needed. </para> </listitem> <listitem> <para> &apos;ignore_versions&apos; Contains an array of php versions to ignore when calculating the version needed. </para> </listitem> <listitem> <para> &apos;ignore_functions_match&apos; Contains an array of function patterns to ignore when calculating the version needed. </para> </listitem> <listitem> <para> &apos;ignore_extensions_match&apos; Contains an array of extension patterns to ignore when calculating the version needed. </para> </listitem> <listitem> <para> &apos;ignore_constants_match&apos; Contains an array of constant patterns to ignore when calculating the version needed. </para> </listitem> </itemizedlist> * parseArray, parseDir|parseFolder, specific options : <itemizedlist> <listitem> <para> &apos;file_ext&apos; Contains an array of file extensions to parse for PHP code. Default: php, php4, inc, phtml </para> </listitem> <listitem> <para> &apos;ignore_files&apos; Contains an array of files to ignore. File names are case insensitive. </para> </listitem> </itemizedlist> * parseArray specific options : <itemizedlist> <listitem> <para> &apos;is_string&apos; Contains a boolean which says if the array values are strings or file names. </para> </listitem> </itemizedlist> * parseDir|parseFolder specific options : <itemizedlist> <listitem> <para> &apos;recurse_dir&apos; Boolean on whether to recursively find files </para> </listitem> <listitem> <para> &apos;ignore_dirs&apos; Contains an array of directories to ignore. Directory names are case insensitive. </para> </listitem> </itemizedlist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.parsedata.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.mixed; <parameter>$dataSource</parameter> </term> <listitem> <para> The data source (may be file, dir, string, or array) </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$options</parameter> </term> <listitem> <para> An array of options. See above. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.parsedata.returns"> &title.returns; <para> <emphasis>returns</emphasis> array or false on error </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.parsedata.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.parsedata.since"> &title.since; <para> <emphasis>since</emphasis> version 1.8.0b2 (2008-06-03) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.parsedata.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.parsedata.example"> &title.example; <para> <emphasis>see</emphasis> <link linkend="package.php.php-compatinfo.php-compatinfo.parsedata.example"> <function>PHP_CompatInfo::parseData</function> </link> example </para> </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-parser/php-compatinfo-parser.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/php-compatinfo-parser.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/php-compatinfo-parser.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo-parser.php-compatinfo-parser"> <refnamediv> <refname> constructor <function>PHP_CompatInfo_Parser::PHP_CompatInfo_Parser</function> </refname> <refpurpose>Parser Class constructor</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo/Parser.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef> void constructor <function>PHP_CompatInfo_Parser::PHP_CompatInfo_Parser</function> </funcdef> <paramdef /> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.php-compatinfo-parser.desc"> &title.desc; <para> Parser Class constructor </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.php-compatinfo-parser.returns"> &title.returns; <para> <emphasis>returns</emphasis> instance of object PHP_CompatInfo_Parser </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.php-compatinfo-parser.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.php-compatinfo-parser.since"> &title.since; <para> <emphasis>since</emphasis> version 1.8.0b2 (2008-06-03) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.php-compatinfo-parser.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-parser/removelistener.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/removelistener.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/removelistener.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo-parser.removelistener"> <refnamediv> <refname> <function>PHP_CompatInfo_Parser::removeListener</function> </refname> <refpurpose>Removes a registered listener</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo/Parser.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef> bool <function>PHP_CompatInfo_Parser::removeListener</function> </funcdef> <paramdef> mixed <parameter>$callback</parameter> </paramdef> <paramdef> string <parameter> <optional>$nName = EVENT_DISPATCHER_GLOBAL</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.removelistener.desc"> &title.desc; <para> Removes a registered listener that correspond to the given criteria. </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.removelistener.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.mixed; <parameter>$callback</parameter> </term> <listitem> <para> A PHP callback </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.string; <parameter>$nName</parameter> </term> <listitem> <para> (optional) Expected notification name </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.removelistener.returns"> &title.returns; <para> <emphasis>returns</emphasis> True if listener was removed, false otherwise. </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.removelistener.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.removelistener.since"> &title.since; <para> <emphasis>since</emphasis> version 1.8.0b2 (2008-06-03) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.removelistener.note"> &title.note; &note.notstatic; </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.removelistener.example"> &title.example; <para> <emphasis>see</emphasis> <link linkend="package.php.php-compatinfo.php-compatinfo.addlistener.example"> <function>PHP_CompatInfo::addListener</function> </link> example </para> </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-parser/setoutputdriver.xml?view=markup&rev=1.1 Index: peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/setoutputdriver.xml +++ peardoc/en/package/php/php-compatinfo/php-compatinfo-parser/setoutputdriver.xml <!-- $Revision: 1.1 $ --> <refentry id="package.php.php-compatinfo.php-compatinfo-parser.setoutputdriver"> <refnamediv> <refname> <function>PHP_CompatInfo_Parser::setOutputDriver</function> </refname> <refpurpose>Set up driver to be used</refpurpose> </refnamediv> <refsynopsisdiv> <funcsynopsis> <funcsynopsisinfo> require_once &apos;PHP/CompatInfo/Parser.php&apos;; </funcsynopsisinfo> <funcprototype> <funcdef> void <function>PHP_CompatInfo_Parser::setOutputDriver</function> </funcdef> <paramdef> string <parameter>$type</parameter> </paramdef> <paramdef> array <parameter> <optional>$conf = array()</optional> </parameter> </paramdef> </funcprototype> </funcsynopsis> </refsynopsisdiv> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.setoutputdriver.desc"> &title.desc; <para> Set up driver to be used, dependant on specified type. </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.setoutputdriver.param"> &title.param; <para> <variablelist> <varlistentry> <term> &type.string; <parameter>$type</parameter> </term> <listitem> <para> Name the type of driver (html, text...) </para> </listitem> </varlistentry> </variablelist> <variablelist> <varlistentry> <term> &type.array; <parameter>$conf</parameter> </term> <listitem> <para> A hash containing any additional configuration </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.setoutputdriver.returns"> &title.returns; <para> <emphasis>returns</emphasis> void </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.setoutputdriver.throws"> &title.throws; <para> <emphasis>throws</emphasis> no exceptions thrown </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.setoutputdriver.since"> &title.since; <para> <emphasis>since</emphasis> version 1.8.0b2 (2008-06-03) </para> </refsect1> <refsect1 id="package.php.php-compatinfo.php-compatinfo-parser.setoutputdriver.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 (#10982) next »