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


PHP Record::setParam方法代码示例

本文整理汇总了PHP中Record::setParam方法的典型用法代码示例。如果您正苦于以下问题:PHP Record::setParam方法的具体用法?PHP Record::setParam怎么用?PHP Record::setParam使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Record的用法示例。


在下文中一共展示了Record::setParam方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: setRecord

 public function setRecord()
 {
     $nCoolType = isset($_GET['type']) ? $_GET['type'] : '';
     $this->setCoolType($nCoolType);
     parent::setParam();
     $this->checkParam();
 }
开发者ID:vvcumt,项目名称:zk,代码行数:7,代码来源:Myrsc.class.php

示例2: setRecord

 public function setRecord()
 {
     $this->width = isset($_GET['width']) ? $_GET['width'] : 720;
     $this->height = isset($_GET['height']) ? $_GET['height'] : 1280;
     $this->type = isset($_GET['type']) ? $_GET['type'] : 0;
     $this->subtype = (int) (isset($_GET['subtype']) ? $_GET['subtype'] : 0);
     $this->keyword = isset($_GET['keyword']) ? $_GET['keyword'] : '';
     parent::setParam();
 }
开发者ID:vvcumt,项目名称:zk,代码行数:9,代码来源:LuceneSearch.class.php

示例3: setRecord

 public function setRecord()
 {
     $this->product = trim(isset($_GET['product']) ? $_GET['product'] : '');
     // 		$this->width 	= isset($_GET['width'])?$_GET['width']:720;
     // 		$this->height 	= isset($_GET['height'])?$_GET['height']:1280;
     $this->vercode = (int) (isset($_GET['versionCode']) ? $_GET['versionCode'] : 0);
     parent::setParam();
     $this->checkParam();
 }
开发者ID:vvcumt,项目名称:zk,代码行数:9,代码来源:Widgets.class.php

示例4: setRecord

 public function setRecord()
 {
     $this->product = trim(isset($_GET['product']) ? $_GET['product'] : '');
     $this->width = (int) (isset($_GET['width']) ? $_GET['width'] : 720);
     $this->height = (int) (isset($_GET['height']) ? $_GET['height'] : 1280);
     $this->channel = (int) (isset($_GET['channel']) ? $_GET['channel'] : 5);
     $this->cpid = isset($_GET['id']) ? $_GET['id'] : '';
     $nCoolType = (int) (isset($_GET['type']) ? $_GET['type'] : 0);
     $this->setCoolType($nCoolType);
     parent::setParam();
     $this->checkParam();
 }
开发者ID:vvcumt,项目名称:zk,代码行数:12,代码来源:Albums.class.php

示例5: setRecord

 public function setRecord()
 {
     if (isset($_POST['statis'])) {
         $json_param = isset($_POST['statis']) ? $_POST['statis'] : '';
         $json_param = stripslashes($json_param);
         $arr_param = json_decode($json_param, true);
         $this->item = isset($arr_param['settingItem']) ? $arr_param['settingItem'] : '';
         $this->state = isset($arr_param['state']) ? $arr_param['state'] : 0;
         $this->cid = isset($arr_param['cid']) ? $arr_param['cid'] : 0;
     }
     parent::setParam();
     $this->checkParam();
 }
开发者ID:vvcumt,项目名称:zk,代码行数:13,代码来源:Setting.class.php

示例6: setRecord

 public function setRecord()
 {
     $this->product = trim(isset($_GET['product']) ? $_GET['product'] : '');
     $this->width = (int) (isset($_GET['width']) ? $_GET['width'] : 720);
     $this->height = (int) (isset($_GET['height']) ? $_GET['height'] : 1280);
     $this->type = (int) (isset($_GET['reqType']) ? $_GET['reqType'] : 0);
     $this->type = (int) (isset($_GET['code']) ? $_GET['code'] : $this->type);
     //兼容旧版本未做动态分类的代码,新版本实际类型为code字段值
     $this->channel = (int) (isset($_GET['channel']) ? $_GET['channel'] : 5);
     $this->vercode = (int) (isset($_GET['versionCode']) ? $_GET['versionCode'] : 0);
     $nCoolType = (int) (isset($_GET['type']) ? $_GET['type'] : 4);
     $this->setCoolType($nCoolType);
     parent::setParam();
     $this->checkParam();
 }
开发者ID:vvcumt,项目名称:zk,代码行数:15,代码来源:Banner.class.php

示例7: setRecord

 public function setRecord()
 {
     $this->id = isset($_GET['id']) ? $_GET['id'] : '';
     $this->cpid = isset($_GET['cpid']) ? $_GET['cpid'] : '';
     if (empty($this->cpid)) {
         $this->cpid = $this->id;
     }
     $this->url = '';
     //isset($_GET['url'])?$_GET['url']:'';
     $this->type = (int) (isset($_GET['type']) ? $_GET['type'] : 0);
     $this->channel = (int) (isset($_GET['channel']) ? $_GET['channel'] : 0);
     $this->page = (int) (isset($_GET['pageno']) ? $_GET['pageno'] : 0);
     $this->position = (int) (isset($_GET['position']) ? $_GET['position'] : 0);
     $nCoolType = isset($_GET['moduletype']) ? $_GET['moduletype'] : '';
     $this->setCoolType($nCoolType);
     parent::setParam();
     $this->checkParam();
 }
开发者ID:vvcumt,项目名称:zk,代码行数:18,代码来源:Browse.class.php

示例8: setRecord

 public function setRecord()
 {
     $this->id = isset($_GET['id']) ? $_GET['id'] : '';
     $this->cpid = isset($_GET['cpid']) ? $_GET['cpid'] : '';
     $this->applytype = (int) (isset($_GET['applytype']) ? $_GET['applytype'] : 0);
     $nCoolType = isset($_GET['moduletype']) ? $_GET['moduletype'] : '';
     $this->setCoolType($nCoolType);
     if ($nCoolType == COOLXIU_TYPE_THEMES_CONTACT) {
         $this->applytype = REQUEST_CHANNEL_CONTACT;
     }
     if ($nCoolType == COOLXIU_TYPE_THEMES_ICON) {
         $this->applytype = REQUEST_CHANNEL_ICON;
     }
     if ($nCoolType == COOLXIU_TYPE_LIVE_WALLPAPER) {
         $this->applytype = REQUEST_CHANNEL_LIVEWP;
     }
     parent::setParam();
     $this->checkParam();
 }
开发者ID:vvcumt,项目名称:zk,代码行数:19,代码来源:Apply.class.php

示例9: setRecord

 public function setRecord()
 {
     $this->product = trim(isset($_GET['product']) ? $_GET['product'] : '');
     $this->width = (int) (isset($_GET['width']) ? $_GET['width'] : 720);
     $this->height = (int) (isset($_GET['height']) ? $_GET['height'] : 1280);
     $this->type = (int) (isset($_GET['reqType']) ? $_GET['reqType'] : 0);
     $this->type = (int) (isset($_GET['type']) ? $_GET['type'] : $this->type);
     $this->subtype = (int) (isset($_GET['code']) ? $_GET['code'] : $this->type);
     //兼容旧版本未做动态分类的代码,新版本实际类型为code字段值
     $this->subtype = (int) (isset($_GET['subtype']) ? $_GET['subtype'] : $this->subtype);
     $this->channel = (int) (isset($_GET['chanel']) ? $_GET['chanel'] : 0);
     $this->vercode = (int) (isset($_GET['versionCode']) ? $_GET['versionCode'] : 0);
     $nSort = (int) (isset($_GET['sort']) ? $_GET['sort'] : 0);
     $nCharge = (int) (isset($_GET['charge']) ? $_GET['charge'] : 2);
     if ($nSort == COOLXIU_SEARCH_CHOICE) {
         $this->channel = REQUEST_CHANNEL_CHOICE;
     }
     if ($nCharge == 0) {
         $this->channel = REQUEST_CHANNEL_CHARGE_NO;
     }
     if ($nCharge == 1) {
         $this->channel = REQUEST_CHANNEL_CHARGE_YES;
     }
     $nCoolType = (int) (isset($_GET['moduletype']) ? $_GET['moduletype'] : '');
     if ($nCoolType == COOLXIU_TYPE_THEMES_CONTACT) {
         $this->channel = REQUEST_CHANNEL_CONTACT;
     }
     if ($nCoolType == COOLXIU_TYPE_THEMES_ICON) {
         $this->channel = REQUEST_CHANNEL_ICON;
     }
     if ($nCoolType == COOLXIU_TYPE_LIVE_WALLPAPER) {
         $this->channel = REQUEST_CHANNEL_LIVEWP;
     }
     $this->setCoolType($nCoolType);
     parent::setParam();
     $this->checkParam();
 }
开发者ID:vvcumt,项目名称:zk,代码行数:37,代码来源:Request.class.php


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