Ignore:
Timestamp:
2012/04/06 17:25:14 (12 years ago)
Author:
AMUAMU
Message:

#1604 (外部連携用APIの実装) 基本機構実装、Amazon API相当の機能の実装(商品一覧系)

Location:
branches/version-2_12-dev/data
Files:
41 added
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/util/SC_Utils.php

    r21704 r21713  
    20772077        return implode($separator, array_fill(0, $multiplier, $input)); 
    20782078    } 
     2079 
     2080    /** 
     2081     * RFC3986に準拠したURIエンコード 
     2082     * MEMO: PHP5.3.0未満では、~のエンコードをしてしまうための処理 
     2083     * 
     2084     * @param string $str 文字列 
     2085     * @return string RFC3986エンコード文字列 
     2086     */ 
     2087    function encodeRFC3986($str) { 
     2088        return str_replace('%7E', '~', rawurlencode($str)); 
     2089    } 
     2090 
     2091 
    20792092} 
Note: See TracChangeset for help on using the changeset viewer.