PHP Class PFinal\Wechat\SDK\Redpack\CommonUtil

显示文件 Open project: pfinal/wechat Class Usage Examples

Public Methods

Method Description
arrayToXml ( $arr )
create_noncestr ( $length = 16 )
formatBizQueryParaMap ( $paraMap, $urlencode )
formatQueryParaMap ( $paraMap, $urlencode )
genAllUrl ( $toURL, $paras )
splitParaStr ( $src, $token )
trimString ( $value ) trim

Method Details

arrayToXml() public method

public arrayToXml ( $arr )

create_noncestr() public method

public create_noncestr ( $length = 16 )

formatBizQueryParaMap() public method

public formatBizQueryParaMap ( $paraMap, $urlencode )

formatQueryParaMap() public method

public formatQueryParaMap ( $paraMap, $urlencode )

genAllUrl() public method

public genAllUrl ( $toURL, $paras )

splitParaStr() public method

public splitParaStr ( $src, $token )

trimString() static public method

trim
static public trimString ( $value )