/[cvs]/nfo/php/libs/org.netfrag.flib/utils/helper.php
ViewVC logotype

Diff of /nfo/php/libs/org.netfrag.flib/utils/helper.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by joko, Tue Feb 4 08:22:34 2003 UTC revision 1.6 by joko, Sun Feb 9 17:49:53 2003 UTC
# Line 3  Line 3 
3  //    $Id$  //    $Id$
4  //    -----------------------------------------------------------------------------  //    -----------------------------------------------------------------------------
5  //    $Log$  //    $Log$
6    //    Revision 1.6  2003/02/09 17:49:53  joko
7    //    - removed old code
8    //
9  //    Revision 1.5  2003/02/04 08:22:34  joko  //    Revision 1.5  2003/02/04 08:22:34  joko
10  //    + function is_hash  //    + function is_hash
11  //    + function array_join_merge  //    + function array_join_merge
# Line 87  function isvalidemailaddress($mail) { Line 90  function isvalidemailaddress($mail) {
90    return "valid";    return "valid";
91  }  }
92    
93  function dumpVar($var) {  function Dumper() {
   return Dumper($var);  
 }  
   
 function Dumper($var) {  
94    ob_start();    ob_start();
95    print_r($var);    $arg_list = func_get_args();
96      $count = 1;
97      foreach ($arg_list as $arg) {
98        print "<hr/>";
99        print_r($arg);
100        $count++;
101      }
102    $var_dump = ob_get_contents();    $var_dump = ob_get_contents();
103    ob_end_clean();    ob_end_clean();
104    $var_dump = str_replace("\n", "<br>", $var_dump);    $var_dump = str_replace("\n", "<br>", $var_dump);
# Line 154  function getEncodedBirthdate($birthdate) Line 159  function getEncodedBirthdate($birthdate)
159    return $birthday;    return $birthday;
160  }  }
161    
 /*  
 function dprint($message) {  
   print '<span style="font-family:Verdana,Helvetica;font-size:7pt;">';  
   print $message;  
   print '</span><br>';  
 }  
 */  
   
162  function number_format_storage($string) {  function number_format_storage($string) {
163      $locale_info = localeconv();      $locale_info = localeconv();
164      $string =  str_replace($locale_info["decimal_point"], ".",  $string);      $string =  str_replace($locale_info["decimal_point"], ".",  $string);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed