本文整理汇总了PHP中Upload::show方法的典型用法代码示例。如果您正苦于以下问题:PHP Upload::show方法的具体用法?PHP Upload::show怎么用?PHP Upload::show使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Upload
的用法示例。
在下文中一共展示了Upload::show方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: beforeAction
/**
* 系统函数
* @access public
*/
function beforeAction()
{
$m = new Banner();
$language = $m->getLanguageList();
$this->assign('language', $language);
$upload = new Upload();
$this->assign('upload', $upload->show());
}
示例2: beforeAction
/**
* 系统函数
* @access public
*/
function beforeAction()
{
$Hotproduct = new Hotproduct();
$language = $Hotproduct->getLanguageList();
//print_r($language);
$this->assign('language', $language);
$upload = new Upload();
$this->assign('upload', $upload->show());
}
示例3: beforeAction
/**
* 系统函数
* @access public
*/
function beforeAction()
{
$hotshop = new Hotshop();
$language = $hotshop->getLanguageList();
//print_r($language);
$this->assign('language', $language);
$upload = new Upload();
$this->assign('upload', $upload->show());
}
示例4: beforeAction
/**
* 系统函数
* @access public
*/
function beforeAction()
{
$website = new Website();
$language = $website->getLanguageList();
//print_r($language);
$this->assign('language', $language);
$upload = new Upload();
$this->assign('upload', $upload->show());
}
示例5: beforeAction
/**
* 系统函数
* @access public
*/
function beforeAction()
{
$teambuy = new Teambuy();
$language = $teambuy->getLanguageList();
//print_r($language);
$this->assign('language', $language);
$upload = new Upload();
$this->assign('upload', $upload->show());
}
示例6: beforeAction
/**
* 系统函数
* @access public
*/
function beforeAction()
{
$m = new Rotation();
$type = $m->gettype();
//$language = $m->getLanguageList();
$this->assign('type', $type);
//$this->assign('language', $language);
$upload = new Upload();
$this->assign('upload', $upload->show());
}
示例7: update
/**
* 返回更新国家信息
* @access public
*/
function update()
{
$id = get_post_value('id');
$field = array('product_url', 'title_cn', 'title_th', 'category_3_id', 'floor_3_id', 'purchase_price', 'image_url', 'product_url', 'shop_id', 'shop_url', 'product_id', 'status', 'shop', 'sales_price', 'purchase_price', 'preferential_price');
$m = new Products();
$m->clear();
$m->setTable('vcb_product');
//设置表名
$m->setWhere('product_id', '=', $id);
$m->setField($field);
$data = $m->select();
var_dump($data);
$this->assign('data', $data);
$upload = new Upload();
$this->assign('upload', $upload->show());
}
示例8: array
function update_kind()
{
$id = get_post_value('id');
$field = array('id', 'product_id', 'product_color', 'image_url');
var_dump($field);
$m = new Products();
$m->clear();
$m->setField($field);
$m->setTable(' vcb_product_kind ');
$m->setWhere('id', '=', $id);
$data = $m->select();
$this->assign('data', $data);
$upload = new Upload();
$this->assign('upload', $upload->show());
}
示例9: strtolower
function add2()
{
$url = strtolower(get_post_value('url'));
if (substr($url, 0, 7) != 'http://') {
$url = 'http://' . $url;
}
$product_url = null;
if (substr($url, 0, 22) == 'http://item.taobao.com') {
echo $url;
$taobao = new Taobao($url);
$product_url = $taobao->getProductUrl();
$data = $taobao->getData();
print_r($data);
$this->assign('product_url', $product_url);
$this->assign('data', $data);
} else {
}
$upload = new Upload();
$this->assign('upload', $upload->show());
}