\DtApp\ThinkLibrary\helperUrls

网址管理类

Summary

Methods
Properties
Constants
lenCode()
deCode()
toParams()
isUrl()
deleteProtocol()
retrieve()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

lenCode()

lenCode(string  $url) : string

编码

Parameters

string $url

Returns

string

deCode()

deCode(string  $url) : string

解码

Parameters

string $url

Returns

string

toParams()

toParams(array  $data) : string

格式化参数格式化成url参数

Parameters

array $data

Returns

string

isUrl()

isUrl(string  $url) : boolean

判断是否为Url

Parameters

string $url

Returns

boolean

deleteProtocol()

deleteProtocol(string  $url) : string

删除协议

Parameters

string $url

Returns

string

retrieve()

retrieve(string  $url) : mixed|string

获取URL文件格式

Parameters

string $url

Returns

mixed|string