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


PHP setUpdatedLatLng函数代码示例

本文整理汇总了PHP中setUpdatedLatLng函数的典型用法代码示例。如果您正苦于以下问题:PHP setUpdatedLatLng函数的具体用法?PHP setUpdatedLatLng怎么用?PHP setUpdatedLatLng使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: prepare_for_db

         $avalues["kelurahan_id"] = prepare_for_db("kelurahan_id", $_SESSION[$sessionPrefix . "_masterkey1"]);
     }
 }
 $failed_inline_add = false;
 //	add filenames to values
 foreach ($afilename_values as $akey => $value) {
     $avalues[$akey] = $value;
 }
 //	before Add event
 $retval = true;
 if ($eventObj->exists("BeforeAdd")) {
     $retval = $eventObj->BeforeAdd($avalues, $usermessage, (bool) $inlineadd, $pageObject);
 }
 if ($retval && $pageObject->isCaptchaOk) {
     //add or set updated lat-lng values for all map fileds with 'UpdateLatLng' ticked
     setUpdatedLatLng($avalues, $pageObject->cipherer->pSet);
     $_SESSION[$strTableName . "_count_captcha"] = $_SESSION[$strTableName . "_count_captcha"] + 1;
     if (DoInsertRecord($strOriginalTableName, $avalues, $blobfields, $id, $pageObject, $pageObject->cipherer)) {
         $IsSaved = true;
         //	after edit event
         if ($auditObj || $eventObj->exists("AfterAdd")) {
             foreach ($keys as $idx => $val) {
                 $avalues[$idx] = $val;
             }
         }
         if ($auditObj) {
             $auditObj->LogAdd($strTableName, $avalues, $keys);
         }
         // Give possibility to all edit controls to clean their data
         //	processing parent - start
         $inlineAddOption = true;
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:pad_pad_customer_add.php

示例2: setUpdatedLatLng

         $readevalues = true;
     }
 }
 if ($readevalues == false) {
     //	do event
     $retval = true;
     if ($eventObj->exists("BeforeEdit")) {
         $retval = $eventObj->BeforeEdit($evalues, $strWhereClause, $dataold, $keys, $usermessage, (bool) $inlineedit, $pageObject);
     }
     if ($retval && $pageObject->isCaptchaOk) {
         if ($inlineedit != EDIT_INLINE) {
             $_SESSION[$strTableName . "_count_captcha"] = $_SESSION[$strTableName . "_count_captcha"] + 1;
         }
         //set updated lat-lng values for all map fileds with 'UpdateLatLng' ticked
         if (isTableGeoUpdatable($pageObject->cipherer->pSet)) {
             setUpdatedLatLng($evalues, $pageObject->cipherer->pSet, $dataold);
         }
         if (DoUpdateRecord($strOriginalTableName, $evalues, $blobfields, $strWhereClause, $id, $pageObject, $pageObject->cipherer)) {
             $IsSaved = true;
             // Give possibility to all edit controls to clean their data
             //	processing nama - begin
             $condition = 1;
             if ($condition) {
                 $control_nama->afterSuccessfulSave();
             }
             //	processing nama - end
             //	processing app_id - begin
             $condition = 1;
             if ($condition) {
                 $control_app_id->afterSuccessfulSave();
             }
开发者ID:aagusti,项目名称:padl-tng,代码行数:31,代码来源:app_modules_edit.php


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