Development

Changeset 4357

You must first sign up to be able to contribute.

Changeset 4357

Show
Ignore:
Timestamp:
06/25/07 11:22:30 (1 year ago)
Author:
fabien
Message:

changed I18N methods in sfToolkit to static methods

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/util/sfToolkit.class.php

    r4343 r4357  
    558558   * @return string UTF-8 encoded string, original string if iconv failed. 
    559559   */ 
    560   function I18N_toUTF8($string, $from) 
     560  static public function I18N_toUTF8($string, $from) 
    561561  { 
    562562    $from = strtoupper($from); 
     
    579579   * @return string encoded string. 
    580580   */ 
    581   function I18N_toEncoding($string, $to) 
     581  static public function I18N_toEncoding($string, $to) 
    582582  { 
    583583    $to = strtoupper($to);