framework/modelmaterial.mod.php

Functions

material_sync()

material_sync(  $material,   $exist_material,   $type) 

Parameters

$material
$exist_material
$type

material_news_set()

material_news_set(  $data,   $attach_id) 

Parameters

$data
$attach_id

material_get()

material_get(  $attach_id) 

Parameters

$attach_id

material_build_reply()

material_build_reply(  $attach_id) 

Parameters

$attach_id

material_strip_wechat_image_proxy()

material_strip_wechat_image_proxy(  $content) 

Parameters

$content

material_get_image_url()

material_get_image_url(  $content) 

Parameters

$content

material_parse_content()

material_parse_content(  $content) 

Parameters

$content

material_local_news_upload()

material_local_news_upload(  $attach_id) 

Parameters

$attach_id

material_local_upload_by_url()

material_local_upload_by_url(  $url,   $type = 'images') 

Parameters

$url
$type

material_local_upload()

material_local_upload(  $material_id) 

Parameters

$material_id

material_upload_limit()

material_upload_limit() 

material_news_delete()

material_news_delete(  $material_id) 

Parameters

$material_id

material_delete()

material_delete(  $material_id,   $location) 

Parameters

$material_id
$location

material_url_check()

material_url_check(  $url) 

Parameters

$url

material_news_list()

material_news_list(  $server = '',   $search = '',   $page = array('page_index' => 1, 'page_size' => 24)) 

Parameters

$server
$search
$page

material_list()

material_list(  $type = '',   $server = '',   $page = array('page_index' => 1, 'page_size' => 24)) 

Parameters

$type
$server
$page

material_news_to_local()

material_news_to_local(  $attach_id) 

Parameters

$attach_id

material_to_local()

material_to_local(  $resourceid,   $uniacid,   $uid,   $type = 'image') 

Parameters

$resourceid
$uniacid
$uid
$type

material_network_image_to_local()

material_network_image_to_local(  $url,   $uniacid,   $uid) 

Parameters

$url
$uniacid
$uid

material_network_to_local()

material_network_to_local(  $url,   $uniacid,   $uid,   $type = 'image') 

Parameters

$url
$uniacid
$uid
$type

material_to_wechat()

material_to_wechat(  $attach_id,   $uniacid,   $uid,   $acid,   $type = 'image') 

Parameters

$attach_id
$uniacid
$uid
$acid
$type

material_network_image_to_wechat()

material_network_image_to_wechat(  $url,   $uniacid,   $uid,   $acid) 

Parameters

$url
$uniacid
$uid
$acid

material_network_to_wechat()

material_network_to_wechat(  $url,   $uniacid,   $uid,   $acid,   $type = 'image') 

Parameters

$url
$uniacid
$uid
$acid
$type