当前位置: 首页>>代码示例>>PHP>>正文


PHP Upload::show方法代码示例

本文整理汇总了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());
 }
开发者ID:koery,项目名称:Vcanbuy,代码行数:12,代码来源:BannerController.class.php

示例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());
 }
开发者ID:koery,项目名称:Vcanbuy,代码行数:13,代码来源:HotproductController.class.php

示例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());
 }
开发者ID:koery,项目名称:Vcanbuy,代码行数:13,代码来源:HotshopController.class.php

示例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());
 }
开发者ID:koery,项目名称:Vcanbuy,代码行数:13,代码来源:WebsiteController.class.php

示例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());
 }
开发者ID:koery,项目名称:Vcanbuy,代码行数:13,代码来源:TeambuyController.class.php

示例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());
 }
开发者ID:koery,项目名称:Vcanbuy,代码行数:14,代码来源:RotationController.class.php

示例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());
 }
开发者ID:koery,项目名称:Vcanbuy,代码行数:20,代码来源:ProductsController.class.php

示例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());
 }
开发者ID:koery,项目名称:Vcanbuy,代码行数:15,代码来源:ProductsController2015312.class.php

示例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());
 }
开发者ID:koery,项目名称:Vcanbuy,代码行数:20,代码来源:ProductsController.class.php


注:本文中的Upload::show方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。