<?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=File_SearchReplace</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/14926" />
      <rdf:li rdf:resource="http://pear.php.net/bug/13842" />
      <rdf:li rdf:resource="http://pear.php.net/bug/2707" />

     </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/14926">
      <title>File_SearchReplace: Feature/Change Request 14926 [Open] Make use of setters, getters where appropriate</title>
      <link>http://pear.php.net/bugs/14926</link>
      <content:encoded><![CDATA[<pre>File_SearchReplace Feature/Change Request
Reported by doconnor
2008-10-30T16:38:45+00:00
PHP: 5.2.4 OS:  Package Version: CVS

Description:
------------
Clean up code which directly accesses private variables; and make sure that everything is stored appropriately.

See Request #14917 and Bug #14892 - The former has a patch which half changes this behaviour, the latter is a bug caused by forgetting to do type casting on a private variable.

Use of getters / setters here would appropriately prevent the need to type cast in the middle of other code.

IE:
    function doFiles($ser_func)
    {
        if (!is_array($this-&gt;files)) {
            $this-&gt;files = explode(',', $this-&gt;files);
        }
    }</pre>]]></content:encoded>
      <description><![CDATA[<pre>File_SearchReplace Feature/Change Request
Reported by doconnor
2008-10-30T16:38:45+00:00
PHP: 5.2.4 OS:  Package Version: CVS

Description:
------------
Clean up code which directly accesses private variables; and make sure that everything is stored appropriately.

See Request #14917 and Bug #14892 - The former has a patch which half changes this behaviour, the latter is a bug caused by forgetting to do type casting on a private variable.

Use of getters / setters here would appropriately prevent the need to type cast in the middle of other code.

IE:
    function doFiles($ser_func)
    {
        if (!is_array($this-&gt;files)) {
            $this-&gt;files = explode(',', $this-&gt;files);
        }
    }</pre>]]></description>
      <dc:date>2008-11-03T13:35:51+00:00</dc:date>
      <dc:creator>daniel &amp;#x64;&amp;#111;&amp;#x74; oconnor &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>File_SearchReplace Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/13842">
      <title>File_SearchReplace: Feature/Change Request 13842 [Open] Get which were the files affected by the replacement</title>
      <link>http://pear.php.net/bugs/13842</link>
      <content:encoded><![CDATA[<pre>File_SearchReplace Feature/Change Request
Reported by darizotas
2008-05-06T13:36:01+00:00
PHP: 5.2.5 OS: Windows XP SP2 Package Version: 1.1.2

Description:
------------
Create a new method like getNumOcurrences. This method would return a map containing for each file where the needle was found, the number of replacements (ocurrences).

Regards,

DarÃ­o.</pre>]]></content:encoded>
      <description><![CDATA[<pre>File_SearchReplace Feature/Change Request
Reported by darizotas
2008-05-06T13:36:01+00:00
PHP: 5.2.5 OS: Windows XP SP2 Package Version: 1.1.2

Description:
------------
Create a new method like getNumOcurrences. This method would return a map containing for each file where the needle was found, the number of replacements (ocurrences).

Regards,

DarÃ­o.</pre>]]></description>
      <dc:date>2008-05-11T16:03:57+00:00</dc:date>
      <dc:creator>dario &amp;#x64;&amp;#111;&amp;#x74; borreguero &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>File_SearchReplace Feature/Change Request</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/2707">
      <title>File_SearchReplace: Feature/Change Request 2707 [Open] Search without Replace</title>
      <link>http://pear.php.net/bugs/2707</link>
      <content:encoded><![CDATA[<pre>File_SearchReplace Feature/Change Request
Reported by techtonik
2004-11-06T16:41:49+00:00
PHP: 4.3.9 OS:  Package Version: 

Description:
------------
It will be good to have separate doSearch() and doReplace() functions. More often the only necessary functionality is grep. Before replace it is always a good idea to look into what will be replaced first.</pre>]]></content:encoded>
      <description><![CDATA[<pre>File_SearchReplace Feature/Change Request
Reported by techtonik
2004-11-06T16:41:49+00:00
PHP: 4.3.9 OS:  Package Version: 

Description:
------------
It will be good to have separate doSearch() and doReplace() functions. More often the only necessary functionality is grep. Before replace it is always a good idea to look into what will be replaced first.</pre>]]></description>
      <dc:date>2004-11-06T16:41:49+00:00</dc:date>
      <dc:creator>techtonik &amp;#x61;&amp;#116; php &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>File_SearchReplace Feature/Change Request</dc:subject>
    </item>
</rdf:RDF>
