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


PHP GetData函数代码示例

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


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

示例1: SaveFont

/**
* 保存 字体
* @param array $font 字体列表
* @param string $savePath 保存字体路径
* @param string $saveFontListFile 保存字体列表路径
*/
function SaveFont($font, $savePath, $saveFontListFile)
{
    $path = $font['path'];
    $save = GetName($path);
    SaveData($savePath . $save, GetData($path));
    SaveFontList($saveFontListFile, $save . '=' . $font['name']);
}
开发者ID:zhusaidong,项目名称:PHPArtSign,代码行数:13,代码来源:common.php

示例2: AddCoinSumStats

function AddCoinSumStats($messagesSum)
{
    $stats = ReadSource(STATS_FILE_NAME);
    $DB = GetData();
    $currencies = [];
    foreach ($DB as $user) {
        foreach ($user["currencies"] as $currencyName => $currencyAmount) {
            $currencies[$currencyName] += $currencyAmount;
        }
    }
    $stats[] = ["ts" => date("Y-m-d G:i"), "messages" => $messagesSum, "currencies" => $currencies];
    SetSource(STATS_FILE_NAME, $stats);
}
开发者ID:C0DK,项目名称:SlackCurrencyBot,代码行数:13,代码来源:functions.php

示例3: respond

 }
 // Checking if action is invalid
 if (preg_match("/[^a-z]/", $ACTION) or strlen($ACTION) != 3) {
     respond('BADACTION', '');
 }
 // CONNECT TO THE DATABASE
 $mysqli = new mysqli('cge', 'cgeclient', 'www', 'cge');
 // CHECK CONNECTION
 if (mysqli_connect_errno()) {
     respond("Connect failed: " . mysqli_connect_error() . "\n", '');
 }
 // Authorize Usage of Database
 AuthUser($mysqli, $USERNAME, $SESSIONID);
 if ($ACTION == 'dat') {
     // GET DATA FROM DATABASE
     $DATA = GetData($mysqli);
     // CHECK IF ANY DATA WAS FOUND
     if (count($DATA) > 0) {
         respond('ACCEPTED', $DATA);
     } else {
         respond('NODATA', '');
     }
 } elseif ($ACTION == 'del') {
 } elseif ($ACTION == 'upd') {
 } else {
     respond('UNKNOWNACTION', '');
 }
 //$stmt = $mysqli->prepare("SELECT i.id iid, i.name name,
 //                                 m.country country, m.region region, m.city city, m.zip zip, m.date sdate, m.origin origin, m.pathogenicity pat,
 //                                 r.id rid, r.run_id run_id, r.service service, r.date rdate,
 //                                 a.id aid, a.n50 n50,
开发者ID:josl,项目名称:CGE-File-Sharing,代码行数:31,代码来源:isolate_db_manager.php

示例4: array

 $row = array();
 $row["grid_record"] = array();
 $row["grid_record"]["data"] = array();
 for ($col = 1; $data && ($all || $recno <= $PageSize) && $col <= 1; $col++) {
     $record = array();
     $recno++;
     $records++;
     $keylink = "";
     $keylink .= "&key1=" . htmlspecialchars(rawurlencode(@$data["Code"]));
     //	Code -
     $value = "";
     $value = ProcessLargeText(GetData($data, "Code", ""), "field=Code" . $keylink, "", MODE_PRINT);
     $record["Code_value"] = $value;
     //	Module Type -
     $value = "";
     $value = ProcessLargeText(GetData($data, "Module Type", ""), "field=Module+Type" . $keylink, "", MODE_PRINT);
     $record["Module_Type_value"] = $value;
     if ($col < $colsonpage) {
         $record["endrecord_block"] = true;
     }
     $record["grid_recordheader"] = true;
     $record["grid_vrecord"] = true;
     if ($eventObj->exists("BeforeMoveNextPrint")) {
         $eventObj->BeforeMoveNextPrint($data, $row, $record);
     }
     $row["grid_record"]["data"][] = $record;
     if ($eventObj->exists("ListFetchArray")) {
         $data = $eventObj->ListFetchArray($rs);
     } else {
         $data = db_fetch_array($rs);
     }
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:LU_Module_Type_print.php

示例5: ProcessLargeText

 //Units -
 $value = "";
 $value = ProcessLargeText(GetData($data, "Units", ""), "", "", MODE_VIEW);
 if ($mainTableOwnerID == "Units") {
     $ownerIdValue = $value;
 }
 $xt->assign("Units_value", $value);
 if (!$pageObject->isAppearOnTabs("Units")) {
     $xt->assign("Units_fieldblock", true);
 } else {
     $xt->assign("Units_tabfieldblock", true);
 }
 ////////////////////////////////////////////
 //PerUnit Price - Number
 $value = "";
 $value = ProcessLargeText(GetData($data, "PerUnit Price", "Number"), "", "", MODE_VIEW);
 if ($mainTableOwnerID == "PerUnit Price") {
     $ownerIdValue = $value;
 }
 $xt->assign("PerUnit_Price_value", $value);
 if (!$pageObject->isAppearOnTabs("PerUnit Price")) {
     $xt->assign("PerUnit_Price_fieldblock", true);
 } else {
     $xt->assign("PerUnit_Price_tabfieldblock", true);
 }
 /*$jsKeysObj = 'window.recKeysObj = {';
 	$jsKeysObj .= "'".jsreplace("Units")."': '".(jsreplace(@$data["Units"]))."', ";
 $jsKeysObj = substr($jsKeysObj, 0, strlen($jsKeysObj)-2);
 $jsKeysObj .= '};';
 $pageObject->AddJsCode($jsKeysObj);	
 */
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:Electricity_Rates_view.php

示例6: GetData

 //IsSync - Checkbox
 $value = "";
 $value = GetData($data, "IsSync", "Checkbox");
 if ($mainTableOwnerID == "IsSync") {
     $ownerIdValue = $value;
 }
 $xt->assign("IsSync_value", $value);
 if (!$pageObject->isAppearOnTabs("IsSync")) {
     $xt->assign("IsSync_fieldblock", true);
 } else {
     $xt->assign("IsSync_tabfieldblock", true);
 }
 ////////////////////////////////////////////
 //Currunt Readings -
 $value = "";
 $value = ProcessLargeText(GetData($data, "Currunt Readings", ""), "", "", MODE_VIEW);
 if ($mainTableOwnerID == "Currunt Readings") {
     $ownerIdValue = $value;
 }
 $xt->assign("Currunt_Readings_value", $value);
 if (!$pageObject->isAppearOnTabs("Currunt Readings")) {
     $xt->assign("Currunt_Readings_fieldblock", true);
 } else {
     $xt->assign("Currunt_Readings_tabfieldblock", true);
 }
 /*$jsKeysObj = 'window.recKeysObj = {';
 	$jsKeysObj .= "'".jsreplace("Record ID")."': '".(jsreplace(@$data["Record ID"]))."', ";
 $jsKeysObj = substr($jsKeysObj, 0, strlen($jsKeysObj)-2);
 $jsKeysObj .= '};';
 $pageObject->AddJsCode($jsKeysObj);	
 */
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:Readings_view.php

示例7: WriteTableData

function WriteTableData()
{
    global $rs, $nPageSize, $strTableName, $conn, $eventObj;
    if ($eventObj->exists("ListFetchArray")) {
        $row = $eventObj->ListFetchArray($rs);
    } else {
        $row = db_fetch_array($rs);
    }
    //	if(!$row)
    //		return;
    // write header
    echo "<tr>";
    if ($_REQUEST["type"] == "excel") {
        echo '<td style="width: 100" x:str>' . PrepareForExcel(GetFieldLabel("dbo_Anomalies", "ID")) . '</td>';
        echo '<td style="width: 100" x:str>' . PrepareForExcel(GetFieldLabel("dbo_Anomalies", "Module_ID")) . '</td>';
        echo '<td style="width: 100" x:str>' . PrepareForExcel(GetFieldLabel("dbo_Anomalies", "Anomaly_Description")) . '</td>';
        echo '<td style="width: 100" x:str>' . PrepareForExcel(GetFieldLabel("dbo_Anomalies", "Anomaly_Type")) . '</td>';
        echo '<td style="width: 100" x:str>' . PrepareForExcel(GetFieldLabel("dbo_Anomalies", "Date_Time")) . '</td>';
        echo '<td style="width: 100" x:str>' . PrepareForExcel(GetFieldLabel("dbo_Anomalies", "Action_Taken")) . '</td>';
    } else {
        echo "<td>" . GetFieldLabel("dbo_Anomalies", "ID") . "</td>";
        echo "<td>" . GetFieldLabel("dbo_Anomalies", "Module_ID") . "</td>";
        echo "<td>" . GetFieldLabel("dbo_Anomalies", "Anomaly_Description") . "</td>";
        echo "<td>" . GetFieldLabel("dbo_Anomalies", "Anomaly_Type") . "</td>";
        echo "<td>" . GetFieldLabel("dbo_Anomalies", "Date_Time") . "</td>";
        echo "<td>" . GetFieldLabel("dbo_Anomalies", "Action_Taken") . "</td>";
    }
    echo "</tr>";
    $totals["ID"] = 0;
    $totalsFields[] = array('fName' => "ID", 'totalsType' => '', 'viewFormat' => "");
    $totals["Module ID"] = 0;
    $totalsFields[] = array('fName' => "Module ID", 'totalsType' => '', 'viewFormat' => "");
    $totals["Anomaly Description"] = 0;
    $totalsFields[] = array('fName' => "Anomaly Description", 'totalsType' => '', 'viewFormat' => "");
    $totals["Anomaly Type"] = 0;
    $totalsFields[] = array('fName' => "Anomaly Type", 'totalsType' => '', 'viewFormat' => "");
    $totals["Date Time"] = 0;
    $totalsFields[] = array('fName' => "Date Time", 'totalsType' => '', 'viewFormat' => "Short Date");
    $totals["Action Taken"] = 0;
    $totalsFields[] = array('fName' => "Action Taken", 'totalsType' => '', 'viewFormat' => "");
    $totals = array();
    // write data rows
    $iNumberOfRows = 0;
    while ((!$nPageSize || $iNumberOfRows < $nPageSize) && $row) {
        countTotals($totals, $totalsFields, $row);
        $values = array();
        $format = "";
        $values["ID"] = GetData($row, "ID", $format);
        $values["Module ID"] = "";
        if (strlen($row["Module ID"])) {
            $values["Module ID"] = DisplayLookupWizard("Module ID", $row["Module ID"], $row, "", MODE_EXPORT);
        }
        $format = "";
        $values["Anomaly Description"] = GetData($row, "Anomaly Description", $format);
        $values["Anomaly Type"] = "";
        if (strlen($row["Anomaly Type"])) {
            $values["Anomaly Type"] = DisplayLookupWizard("Anomaly Type", $row["Anomaly Type"], $row, "", MODE_EXPORT);
        }
        $format = "Short Date";
        $values["Date Time"] = GetData($row, "Date Time", $format);
        $values["Action Taken"] = "";
        if (strlen($row["Action Taken"])) {
            $values["Action Taken"] = DisplayLookupWizard("Action Taken", $row["Action Taken"], $row, "", MODE_EXPORT);
        }
        $eventRes = true;
        if ($eventObj->exists('BeforeOut')) {
            $eventRes = $eventObj->BeforeOut($row, $values);
        }
        if ($eventRes) {
            $iNumberOfRows++;
            echo "<tr>";
            echo '<td>';
            $format = "";
            echo htmlspecialchars($values["ID"]);
            echo '</td>';
            echo '<td>';
            if ($_REQUEST["type"] == "excel") {
                echo PrepareForExcel($values["Module ID"]);
            } else {
                echo htmlspecialchars($values["Module ID"]);
            }
            echo '</td>';
            if ($_REQUEST["type"] == "excel") {
                echo '<td x:str>';
            } else {
                echo '<td>';
            }
            $format = "";
            if ($_REQUEST["type"] == "excel") {
                echo PrepareForExcel($values["Anomaly Description"]);
            } else {
                echo htmlspecialchars($values["Anomaly Description"]);
            }
            echo '</td>';
            echo '<td>';
            if ($_REQUEST["type"] == "excel") {
                echo PrepareForExcel($values["Anomaly Type"]);
            } else {
                echo htmlspecialchars($values["Anomaly Type"]);
            }
//.........这里部分代码省略.........
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:101,代码来源:Anomalies_export.php

示例8: DisplayLookupWizard

 //Anomaly Type -
 $value = "";
 $value = DisplayLookupWizard("Anomaly Type", $data["Anomaly Type"], $data, $keylink, MODE_VIEW);
 if ($mainTableOwnerID == "Anomaly Type") {
     $ownerIdValue = $value;
 }
 $xt->assign("Anomaly_Type_value", $value);
 if (!$pageObject->isAppearOnTabs("Anomaly Type")) {
     $xt->assign("Anomaly_Type_fieldblock", true);
 } else {
     $xt->assign("Anomaly_Type_tabfieldblock", true);
 }
 ////////////////////////////////////////////
 //Date Time - Short Date
 $value = "";
 $value = ProcessLargeText(GetData($data, "Date Time", "Short Date"), "", "", MODE_VIEW);
 if ($mainTableOwnerID == "Date Time") {
     $ownerIdValue = $value;
 }
 $xt->assign("Date_Time_value", $value);
 if (!$pageObject->isAppearOnTabs("Date Time")) {
     $xt->assign("Date_Time_fieldblock", true);
 } else {
     $xt->assign("Date_Time_tabfieldblock", true);
 }
 ////////////////////////////////////////////
 //Action Taken -
 $value = "";
 $value = DisplayLookupWizard("Action Taken", $data["Action Taken"], $data, $keylink, MODE_VIEW);
 if ($mainTableOwnerID == "Action Taken") {
     $ownerIdValue = $value;
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:Anomalies_view.php

示例9: array

 $record = array();
 $recno++;
 $records++;
 $keylink = "";
 $keylink .= "&key1=" . htmlspecialchars(rawurlencode(@$data["UserID"]));
 //	UserID -
 $value = "";
 $value = ProcessLargeText(GetData($data, "UserID", ""), "field=UserID" . $keylink, "", MODE_PRINT);
 $record["UserID_value"] = $value;
 //	Password -
 $value = "";
 $value = ProcessLargeText(GetData($data, "Password", ""), "field=Password" . $keylink, "", MODE_PRINT);
 $record["Password_value"] = $value;
 //	User Name -
 $value = "";
 $value = ProcessLargeText(GetData($data, "User Name", ""), "field=User+Name" . $keylink, "", MODE_PRINT);
 $record["User_Name_value"] = $value;
 //	Role -
 $value = "";
 $value = DisplayLookupWizard("Role", $data["Role"], $data, $keylink, MODE_PRINT);
 $record["Role_value"] = $value;
 if ($col < $colsonpage) {
     $record["endrecord_block"] = true;
 }
 $record["grid_recordheader"] = true;
 $record["grid_vrecord"] = true;
 if ($eventObj->exists("BeforeMoveNextPrint")) {
     $eventObj->BeforeMoveNextPrint($data, $row, $record);
 }
 $row["grid_record"]["data"][] = $record;
 if ($eventObj->exists("ListFetchArray")) {
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:System_Users_print.php

示例10: array

    }
    if ($rowcount > $display_count + 2) {
        $xt->assign("display_first", true);
        $xt->assign("display_count", $display_count);
    } else {
        $display_count = $rowcount;
    }
    $rowinfo = array();
    while (($data = db_fetch_array($rs)) && $recordsCounter < $display_count) {
        $recordsCounter++;
        $row = array();
        $keylink = "";
        $keylink .= "&key1=" . htmlspecialchars(rawurlencode(@$data["ID"]));
        //	ID -
        $value = "";
        $value = ProcessLargeText(GetData($data, "ID", ""), "field=ID" . $keylink, "", MODE_PRINT);
        $row["ID_value"] = $value;
        //	Customer ID -
        $value = "";
        $value = DisplayLookupWizard("Customer ID", $data["Customer ID"], $data, $keylink, MODE_PRINT);
        $row["Customer_ID_value"] = $value;
        //	Module ID -
        $value = "";
        $value = DisplayLookupWizard("Module ID", $data["Module ID"], $data, $keylink, MODE_PRINT);
        $row["Module_ID_value"] = $value;
        $rowinfo[] = $row;
    }
    $xt->assign_loopsection("details_row", $rowinfo);
} else {
}
$xt->display("Customer_Module_Assignment_detailspreview.htm");
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:Customer_Module_Assignment_detailspreview.php

示例11: DisplayMasterTableInfo_LU_Anomaly_Type

function DisplayMasterTableInfo_LU_Anomaly_Type($params)
{
    $detailtable = $params["detailtable"];
    $keys = $params["keys"];
    global $conn, $strTableName;
    $xt = new Xtempl();
    $oldTableName = $strTableName;
    $strTableName = "dbo.LU_Anomaly Type";
    //$strSQL = "SELECT Code,   [Tamper Type]  FROM dbo.[LU_Anomaly Type]";
    $sqlHead = "SELECT Code,   [Tamper Type]";
    $sqlFrom = "FROM dbo.[LU_Anomaly Type]";
    $sqlWhere = "";
    $sqlTail = "";
    $where = "";
    global $page_styles, $page_layouts, $page_layout_names, $container_styles;
    $layout = new TLayout("masterprint", "BoldOrange", "MobileOrange");
    $layout->blocks["bare"] = array();
    $layout->containers["0"] = array();
    $layout->containers["0"][] = array("name" => "masterprintheader", "block" => "", "substyle" => 1);
    $layout->skins["0"] = "empty";
    $layout->blocks["bare"][] = "0";
    $layout->containers["mastergrid"] = array();
    $layout->containers["mastergrid"][] = array("name" => "masterprintfields", "block" => "", "substyle" => 1);
    $layout->skins["mastergrid"] = "grid";
    $layout->blocks["bare"][] = "mastergrid";
    $page_layouts["LU_Anomaly_Type_masterprint"] = $layout;
    if ($detailtable == "dbo.Anomalies") {
        $where .= GetFullFieldName("Code") . "=" . make_db_value("Code", $keys[1 - 1]);
    }
    if (!$where) {
        $strTableName = $oldTableName;
        return;
    }
    $str = SecuritySQL("Export");
    if (strlen($str)) {
        $where .= " and " . $str;
    }
    $strWhere = whereAdd($sqlWhere, $where);
    if (strlen($strWhere)) {
        $strWhere = " where " . $strWhere . " ";
    }
    $strSQL = $sqlHead . ' ' . $sqlFrom . $strWhere . $sqlTail;
    //	$strSQL=AddWhere($strSQL,$where);
    LogInfo($strSQL);
    $rs = db_query($strSQL, $conn);
    $data = db_fetch_array($rs);
    if (!$data) {
        $strTableName = $oldTableName;
        return;
    }
    $keylink = "";
    $keylink .= "&key1=" . htmlspecialchars(rawurlencode(@$data["Code"]));
    //	Code -
    $value = "";
    $value = ProcessLargeText(GetData($data, "Code", ""), "field=Code" . $keylink, "", MODE_PRINT);
    $xt->assign("Code_mastervalue", $value);
    //	Tamper Type -
    $value = "";
    $value = ProcessLargeText(GetData($data, "Tamper Type", ""), "field=Tamper+Type" . $keylink, "", MODE_PRINT);
    $xt->assign("Tamper_Type_mastervalue", $value);
    $xt->display("LU_Anomaly_Type_masterprint.htm");
    $strTableName = $oldTableName;
}
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:63,代码来源:LU_Anomaly_Type_masterprint.php

示例12: switch

 *	Company Properties aJax actions
 * ******************************
 */
include '../../includes/classes/core.php';
$action = $_REQUEST['act'];
$error = '';
$data = '';
switch ($action) {
    case 'set_data':
        $name = $_REQUEST['name'];
        $address = $_REQUEST['address'];
        $payer = $_REQUEST['payer'];
        SetData($name, $address, $payer);
        break;
    case 'get_data':
        $data = GetData();
        break;
    default:
        $error = "Action is Null";
}
$data['error'] = $error;
echo json_encode($data);
/* ******************************
 *	Company Properties Functions
 * ******************************
 */
function SetData($name, $address, $payer)
{
    mysql_query("UPDATE `company_properties`\r\n\t\t\t\t SET    `name`\t  = '{$name}',\r\n\t\t\t\t        `address` = '{$address}',\r\n\t\t\t\t        `payer`   = {$payer}\r\n\t\t\t\t WHERE  `id`      = 1\r\n\t\t\t\t");
}
function GetData()
开发者ID:GeoPvN,项目名称:winstone,代码行数:31,代码来源:properties.action.php

示例13: GetData

<?php

// Данный код создан и распространяется по лицензии GPL v3
// Изначальный автор данного кода - Грибов Павел
// http://грибовы.рф
include_once "config.php";
// загружаем настройки и функции для работы с 1С
function GetData($idc, $txt)
{
    if (is_object($idc)) {
        try {
            $par = array('kode' => $txt);
            //var_dump($par);
            $ret1c = $idc->GetListTMCGroup($par);
        } catch (SoapFault $e) {
            echo "АЩИБКА!!! </br>";
            var_dump($e);
        }
    } else {
        echo 'Не удалося подключиться к 1С<br>';
        var_dump($idc);
    }
    return $ret1c;
}
$idc = Connect1C("http://10.80.16.34/upp_rss/ws/ws1.1cws?wsdl");
$ret1c = GetData($idc, "00000000064");
//var_dump($ret1c);
$aa = $ret1c->return;
echo $aa;
开发者ID:Kozlov-V,项目名称:webuseorg3,代码行数:29,代码来源:get_tmc_group.php

示例14: array

 $row = array();
 $row["grid_record"] = array();
 $row["grid_record"]["data"] = array();
 for ($col = 1; $data && ($all || $recno <= $PageSize) && $col <= 1; $col++) {
     $record = array();
     $recno++;
     $records++;
     $keylink = "";
     $keylink .= "&key1=" . htmlspecialchars(rawurlencode(@$data["Code"]));
     //	Code -
     $value = "";
     $value = ProcessLargeText(GetData($data, "Code", ""), "field=Code" . $keylink, "", MODE_PRINT);
     $record["Code_value"] = $value;
     //	Status -
     $value = "";
     $value = ProcessLargeText(GetData($data, "Status", ""), "field=Status" . $keylink, "", MODE_PRINT);
     $record["Status_value"] = $value;
     if ($col < $colsonpage) {
         $record["endrecord_block"] = true;
     }
     $record["grid_recordheader"] = true;
     $record["grid_vrecord"] = true;
     if ($eventObj->exists("BeforeMoveNextPrint")) {
         $eventObj->BeforeMoveNextPrint($data, $row, $record);
     }
     $row["grid_record"]["data"][] = $record;
     if ($eventObj->exists("ListFetchArray")) {
         $data = $eventObj->ListFetchArray($rs);
     } else {
         $data = db_fetch_array($rs);
     }
开发者ID:samsulpendis,项目名称:Instant_Appointment,代码行数:31,代码来源:LU_Module_Status_print.php

示例15: editAction

 /**
  * 名称:  编辑用户
  */
 public function editAction()
 {
     if (isset($_POST) && !empty($_POST)) {
         $data['id'] = $_POST['id'];
         $data['username'] = htmlspecialchars_decode(trim($_POST['username']));
         $data['truename'] = htmlspecialchars_decode(trim($_POST['truename']));
         $data['birthday'] = trim($_POST['birthday']);
         $data['sex'] = $_POST['sex'];
         $data['mobile'] = trim($_POST['mobile']);
         $data['address'] = htmlspecialchars_decode(trim($_POST['address']));
         $data['qq'] = trim($_POST['qq']);
         $data['status'] = $_POST['status'];
         $result = PostData($this->UserUp_Url, $data);
         if ('0000' == $result['retCode']) {
             header("Location: /user/index");
         }
     }
     $userinfo = GetData($this->UserInfo_Url . '?id=' . $_GET['id']);
     $this->getView()->assign("title", $this->title);
     $this->getView()->assign("userinfo", $userinfo);
 }
开发者ID:qieangel2013,项目名称:zys,代码行数:24,代码来源:User.php


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