\addons\collection\libraryCollection

Summary

Methods
Properties
Constants
init()
url_list()
get_url_lists()
get_content()
echo_msg()
$_config
$_url
$_uid
No constants found
download_img_callback()
download_img()
getUrlFile()
url_check()
No protected properties found
N/A
No private methods found
$echo_msg_head
N/A

Properties

$_config

$_config

$_url

$_url

$_uid

$_uid

$echo_msg_head

$echo_msg_head

Methods

init()

init(mixed  $config) : mixed

Parameters

mixed $config

Returns

mixed —

url_list()

url_list(mixed  $num = '') : mixed

Parameters

mixed $num

Returns

mixed —

get_url_lists()

get_url_lists(mixed  $url) : mixed

Parameters

mixed $url

Returns

mixed —

get_content()

get_content(mixed  $url) : mixed

Parameters

mixed $url

Returns

mixed —

echo_msg()

echo_msg(mixed  $str, mixed  $color = 'red', mixed  $echo = true, mixed  $end_str = '') : mixed

Parameters

mixed $str
mixed $color
mixed $echo
mixed $end_str

Returns

mixed —

download_img_callback()

download_img_callback(mixed  $matches) : mixed

转换图片地址为绝对路径,为下载做准备。

Parameters

mixed $matches

Returns

mixed —

download_img()

download_img(mixed  $html, mixed  $oldUrl) : mixed

Parameters

mixed $html
mixed $oldUrl

Returns

mixed —

getUrlFile()

getUrlFile(mixed  $url) : mixed

Parameters

mixed $url

Returns

mixed —

url_check()

url_check(mixed  $url, mixed  $baseurl) : mixed

Parameters

mixed $url
mixed $baseurl

Returns

mixed —