]> granicus.if.org Git - php/commitdiff
* _infoFromAny goes public!
authorStig Bakken <ssb@php.net>
Mon, 20 May 2002 10:45:23 +0000 (10:45 +0000)
committerStig Bakken <ssb@php.net>
Mon, 20 May 2002 10:45:23 +0000 (10:45 +0000)
pear/PEAR/Common.php

index 0fcb53968cf4750ca0ac3e2281dfc3d4800051ed..7427ef96c60ea5fa9d1b37ce6276993e66b928a9 100644 (file)
@@ -888,9 +888,9 @@ class PEAR_Common extends PEAR
     }
 
     // }}}
-    // {{{ _infoFromAny()
+    // {{{ infoFromAny()
 
-    function _infoFromAny($info)
+    function infoFromAny($info)
     {
         if (is_string($info) && file_exists($info)) {
             $tmp = substr($info, -4);
@@ -926,7 +926,7 @@ class PEAR_Common extends PEAR
             $_PEAR_Common_dependency_relations,
             $_PEAR_Common_file_roles,
             $_PEAR_Common_replacement_types;
-        if (PEAR::isError($info = $this->_infoFromAny($info))) {
+        if (PEAR::isError($info = $this->infoFromAny($info))) {
             return $this->raiseError($info);
         }
         if (!is_array($info)) {
@@ -1142,7 +1142,7 @@ class PEAR_Common extends PEAR
         if (!function_exists("token_get_all")) {
             return false;
         }
-        if (PEAR::isError($info = $this->_infoFromAny($any))) {
+        if (PEAR::isError($info = $this->infoFromAny($any))) {
             return $this->raiseError($info);
         }
         if (!is_array($info)) {