<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=Auth_PrefManager2</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/6325" />
      <rdf:li rdf:resource="http://pear.php.net/bug/2886" />
      <rdf:li rdf:resource="http://pear.php.net/bug/2067" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/6325">
      <title>Auth_PrefManager2: Feature/Change Request 6325 [Open] add MDB2</title>
      <link>http://pear.php.net/bugs/6325</link>
      <content:encoded><![CDATA[<pre>Auth_PrefManager2 Feature/Change Request
Reported by lsmith
2005-12-22T13:36:28+00:00
PHP: Irrelevant OS: irrelevant Package Version: 

Description:
------------
Here is a quickly hacked up MDB2 driver .. and a patch to add dependencies to the package.xml

http://pooteeweet.org/pear/Auth_PrefManager2/MDB2.phps

Test script:
---------------
RCS file: /repository/pear/Auth/package.xml,v
retrieving revision 1.61
diff -r1.61 package.xml
112c112
&lt;         &lt;dep type=&quot;pkg&quot; rel=&quot;has&quot; optional=&quot;yes&quot;&gt;MDB2&lt;/dep&gt;
---
&gt;         &lt;dep type=&quot;pkg&quot; rel=&quot;ge&quot; version=&quot;2.0.0RC1&quot; optional=&quot;yes&quot;&gt;MDB2&lt;/dep&gt;

***** CVS exited normally with code 1 *****

cvs diff -- package.xml (in directory C:\apache_dir\phpcvs\pear\Auth_PrefManager2\)
Index: package.xml
===================================================================
RCS file: /repository/pear/Auth_PrefManager2/package.xml,v
retrieving revision 1.1
diff -r1.1 package.xml
20a21,25
&gt;   &lt;deps&gt;
&gt;    &lt;dep type=&quot;pkg&quot; rel=&quot;ge&quot; version=&quot;1.6.0&quot; optional=&quot;yes&quot;&gt;DB&lt;/dep&gt;
&gt;    &lt;dep type=&quot;pkg&quot; rel=&quot;ge&quot; version=&quot;2.0.0RC1&quot; optional=&quot;yes&quot;&gt;MDB2&lt;/dep&gt;
&gt;    &lt;dep type=&quot;php&quot; rel=&quot;ge&quot; version=&quot;4.2.0&quot; optional=&quot;no&quot;/&gt;
&gt;   &lt;/deps&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth_PrefManager2 Feature/Change Request
Reported by lsmith
2005-12-22T13:36:28+00:00
PHP: Irrelevant OS: irrelevant Package Version: 

Description:
------------
Here is a quickly hacked up MDB2 driver .. and a patch to add dependencies to the package.xml

http://pooteeweet.org/pear/Auth_PrefManager2/MDB2.phps

Test script:
---------------
RCS file: /repository/pear/Auth/package.xml,v
retrieving revision 1.61
diff -r1.61 package.xml
112c112
&lt;         &lt;dep type=&quot;pkg&quot; rel=&quot;has&quot; optional=&quot;yes&quot;&gt;MDB2&lt;/dep&gt;
---
&gt;         &lt;dep type=&quot;pkg&quot; rel=&quot;ge&quot; version=&quot;2.0.0RC1&quot; optional=&quot;yes&quot;&gt;MDB2&lt;/dep&gt;

***** CVS exited normally with code 1 *****

cvs diff -- package.xml (in directory C:\apache_dir\phpcvs\pear\Auth_PrefManager2\)
Index: package.xml
===================================================================
RCS file: /repository/pear/Auth_PrefManager2/package.xml,v
retrieving revision 1.1
diff -r1.1 package.xml
20a21,25
&gt;   &lt;deps&gt;
&gt;    &lt;dep type=&quot;pkg&quot; rel=&quot;ge&quot; version=&quot;1.6.0&quot; optional=&quot;yes&quot;&gt;DB&lt;/dep&gt;
&gt;    &lt;dep type=&quot;pkg&quot; rel=&quot;ge&quot; version=&quot;2.0.0RC1&quot; optional=&quot;yes&quot;&gt;MDB2&lt;/dep&gt;
&gt;    &lt;dep type=&quot;php&quot; rel=&quot;ge&quot; version=&quot;4.2.0&quot; optional=&quot;no&quot;/&gt;
&gt;   &lt;/deps&gt;</pre>]]></description>
      <dc:date>2007-04-17T04:53:42+00:00</dc:date>
      <dc:creator>lsmith &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>Auth_PrefManager2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/2886">
      <title>Auth_PrefManager2: Feature/Change Request 2886 [Open] Easily retrieve Option defined</title>
      <link>http://pear.php.net/bugs/2886</link>
      <content:encoded><![CDATA[<pre>Auth_PrefManager2 Feature/Change Request
Reported by farell
2004-12-03T23:45:40+00:00
PHP: 4.3.9 OS: Windows XP Package Version: 

Description:
------------
It could be interresting to retrieve all options given
to the constructor class, or just one of them, at any time.

I suggest to add a function like that into the Container.php file:

    function getOption($option = null)
    {
        if (is_null($option)) {
            return $this-&gt;_options;
        } elseif (isset($this-&gt;_options[$option])) {
            return $this-&gt;_options[$option];
        } else {
            return false;  // perharps throw an error
        }
    }


Reproduce code:
---------------
For example:

&lt;?php
require_once 'Auth/PrefManager2.php';

$options = array('debug' =&gt; true, 'default_app' =&gt; 'Auth2');

$prefs = &amp;Auth_PrefManager2::factory('Array', $options);
$App = $prefs-&gt;getOption('default_app');
$prefs-&gt;setPref(&quot;fullname&quot;, &quot;Jon Wood&quot;);

$jonName = $prefs-&gt;getPref(&quot;fullname&quot;);

echo &quot;&lt;p&gt;Jon's name is $jonName for application '$App'&lt;/p&gt;&quot;;
?&gt;</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth_PrefManager2 Feature/Change Request
Reported by farell
2004-12-03T23:45:40+00:00
PHP: 4.3.9 OS: Windows XP Package Version: 

Description:
------------
It could be interresting to retrieve all options given
to the constructor class, or just one of them, at any time.

I suggest to add a function like that into the Container.php file:

    function getOption($option = null)
    {
        if (is_null($option)) {
            return $this-&gt;_options;
        } elseif (isset($this-&gt;_options[$option])) {
            return $this-&gt;_options[$option];
        } else {
            return false;  // perharps throw an error
        }
    }


Reproduce code:
---------------
For example:

&lt;?php
require_once 'Auth/PrefManager2.php';

$options = array('debug' =&gt; true, 'default_app' =&gt; 'Auth2');

$prefs = &amp;Auth_PrefManager2::factory('Array', $options);
$App = $prefs-&gt;getOption('default_app');
$prefs-&gt;setPref(&quot;fullname&quot;, &quot;Jon Wood&quot;);

$jonName = $prefs-&gt;getPref(&quot;fullname&quot;);

echo &quot;&lt;p&gt;Jon's name is $jonName for application '$App'&lt;/p&gt;&quot;;
?&gt;</pre>]]></description>
      <dc:date>2004-12-03T23:45:40+00:00</dc:date>
      <dc:creator>pear &amp;#x61;&amp;#116; laurent-laville &amp;#x64;&amp;#111;&amp;#x74; org</dc:creator>
      <dc:subject>Auth_PrefManager2 Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/2067">
      <title>Auth_PrefManager2: Documentation Problem 2067 [Assigned] Documentation needed</title>
      <link>http://pear.php.net/bugs/2067</link>
      <content:encoded><![CDATA[<pre>Auth_PrefManager2 Documentation Problem
Reported by jellybob@...
2004-08-05T13:53:39+00:00
PHP: Irrelevant OS: N/A Package Version: 

Description:
------------
Some documentation is needed for this package.</pre>]]></content:encoded>
      <description><![CDATA[<pre>Auth_PrefManager2 Documentation Problem
Reported by jellybob@...
2004-08-05T13:53:39+00:00
PHP: Irrelevant OS: N/A Package Version: 

Description:
------------
Some documentation is needed for this package.</pre>]]></description>
      <dc:date>2007-04-20T03:38:07+00:00</dc:date>
      <dc:creator>jellybob &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>Auth_PrefManager2 Documentation Problem</dc:subject>
    </item>
</rdf:RDF>
