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


PHP EditPage::getUpdateDate方法代码示例

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


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

示例1: readFile

 public function readFile($file)
 {
     if (!preg_match('/^\\d+_\\d+\\.html$/', $file)) {
         return false;
     }
     $html = file_get_contents($this->dir . '/' . $file);
     $pos = strrpos($html, "<body");
     $html2 = substr($html, $pos);
     $editPage = new EditPage($html2);
     $page = ["property_id" => $editPage->getPropertyID(), "owner" => $editPage->getOwner(), "resale_type" => $editPage->getResaleType(), "size" => $editPage->getSize(), "size_type" => $editPage->getSizeType(), "original_price" => $editPage->getOriginalPrice(), "actual_size" => $editPage->getActualSize(), "property_status" => $editPage->getPropertyStatus(), "desired_profit" => $editPage->getDesiredProfit(), "inc_7%_vat" => $editPage->getPropertyIncVat(), "requirement_type" => $editPage->getRequirementType(), "with_tenant" => $editPage->getWithTenant(), "tenant_price_per_month" => $editPage->getTenantPricePerMonth(), "sell_price" => $editPage->getSellingPrice(), "commission" => $editPage->getComission(), "commission_unit" => $editPage->getCommissionUnit(), "markup_type" => $editPage->getMarkupType(), "markup_price" => $editPage->getMarkuPrice(), "property_type" => $editPage->getPropertyType(), "sold_price" => $editPage->getSoldPrice(), "transferring_date" => $editPage->getTransferringDate(), "branch" => $editPage->getBranch(), "rental_price" => $editPage->getRentalPrice(), "rented_price" => $editPage->getRentedPrice(), "transfer_status" => $editPage->getTransferStatus(), "additional_area_price" => $editPage->getAdditionalAreaPrice(), "area_price" => $editPage->getAreaPrice(), "project" => $editPage->getProject(), "project_name" => $editPage->getProjectName(), "address_no" => $editPage->getAddressNo(), "commission_unit_no" => $editPage->getCommissionUnitNo(), "owner_ship" => $editPage->getOwnership(), "bedrooms" => $editPage->getBedrooms(), "bathrooms" => $editPage->getBathrooms(), "key_location" => $editPage->getKeyLocation(), "floors" => $editPage->getFloors(), "province" => $editPage->getProvince(), "head_line" => $editPage->getHeadLine(), "road" => $editPage->getRoad(), "district" => $editPage->getDistrict(), "property_highlight" => $editPage->getPropertyHighlight(), "sub_district" => $editPage->getSubDistrict(), "description" => $editPage->getDescription(), "promotion" => $editPage->getPromotion(), "head_line_eng" => $editPage->getHeadLineEng(), "web_status" => $editPage->getWebStatus(), "feature_unit" => $editPage->getFeatureUnit(), "description_eng" => $editPage->getDescriptionEng(), "shortcut" => $editPage->getShortCut(), "source_category" => $editPage->getSourceCat(), "source" => $editPage->getSource(), "source_list" => $editPage->getSourceList(), "remark" => $editPage->getRemark(), "comment" => $editPage->getComment(), "update_date" => $editPage->getUpdateDate(), "update_message" => $editPage->getUpdateMessage(), "tier_level" => $editPage->getTierLevel()];
     unset($editPage, $html, $pos, $html2, $file);
     return $page;
 }
开发者ID:nuiz,项目名称:bkk,代码行数:13,代码来源:excel.php


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