svn: /web/doc-editor/trunk/php/ EntitiesAcronymsFetcher.php

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Mon, 22 Mar 2010 21:32:54 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=296631

Log:
rename the key to items for both acronyms and entities

Changed paths:
    U   web/doc-editor/trunk/php/EntitiesAcronymsFetcher.php

Modified: web/doc-editor/trunk/php/EntitiesAcronymsFetcher.php
===================================================================
--- web/doc-editor/trunk/php/EntitiesAcronymsFetcher.php	2010-03-22 21:31:46 UTC (rev 296630)
+++ web/doc-editor/trunk/php/EntitiesAcronymsFetcher.php	2010-03-22 21:32:54 UTC (rev 296631)
@@ -45,7 +45,7 @@
                 if( trim($match[2][$i]) != "" ) {
                     $this->acronyms[$count]['id']       = $count;
                     $this->acronyms[$count]['from']     = $from[count($from)-1];
-                    $this->acronyms[$count]['acronym']  = $match[2][$i];
+                    $this->acronyms[$count]['items']    = $match[2][$i];
                     $this->acronyms[$count]['value']    = htmlentities($match[4][$i]);
                     $count ++;
                 }
@@ -73,7 +73,7 @@
             for( $i=0; $i < count($match[1]); $i++ ) {
                 $this->entities[$count]['id']       = $count;
                 $this->entities[$count]['from']     = $from[count($from)-1];
-                $this->entities[$count]['entities'] = $match[1][$i];
+                $this->entities[$count]['items']    = $match[1][$i];
                 $this->entities[$count]['value']    = htmlentities($match[3][$i]);
                 $count ++;
             }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.