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


PHP Pack::unsetValues方法代码示例

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


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

示例1: packageDetailsFromRow

 private function packageDetailsFromRow($row)
 {
     $pack = new Pack();
     $pack->sp_pkg_id = $row['sp_pkg_id'];
     $pack->sp_st_id = $row['sp_st_id'];
     $pack->sp_dc_id = $row['sp_dc_id'];
     $pack->sp_pkg_type = $row['sp_pkg_type'];
     $pack->sp_package_name = $row['sp_package_name'];
     $pack->sp_package_desc = $row['sp_package_desc'];
     $pack->sp_parent_pkg_id = $row['sp_parent_pkg_id'];
     $pack->sp_pk_id = $row['sp_pk_id'];
     $pack->pk_name = $row['pk_name'];
     $pack->pk_desc = $row['pk_desc'];
     $pack->pk_cnt_display_opt = $row['pk_cnt_display_opt'];
     $pack->cm_id = $row['cm_id'];
     $pack->cm_content_type = $row['cm_content_type'];
     $pack->cm_title = $row['cm_title'];
     $pack->cm_vendor = $row['cm_vendor'];
     $pack->cm_property_id = $row['cm_property_id'];
     $pack->cd_name = $row['cd_name'];
     $pack->cft_thumbnail_img_browse = $row['cft_thumbnail_img_browse'];
     $pack->cft_thumbnail_size = $row['cft_thumbnail_size'];
     $pack->cf_template_id = $row['cf_template_id'];
     $pack->cm_streaming_url = $row['cm_streaming_url'];
     $pack->cm_downloading_url = $row['cm_downloading_url'];
     $pack->unsetValues(array('created_on', 'updated_on', 'created_by', 'updated_by'));
     return $pack;
 }
开发者ID:sujata-patne,项目名称:icon_api,代码行数:28,代码来源:PackDao.php


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