當前位置: 首頁>>代碼示例>>PHP>>正文


PHP sajax_handle_client_request函數代碼示例

本文整理匯總了PHP中sajax_handle_client_request函數的典型用法代碼示例。如果您正苦於以下問題:PHP sajax_handle_client_request函數的具體用法?PHP sajax_handle_client_request怎麽用?PHP sajax_handle_client_request使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了sajax_handle_client_request函數的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 public function __construct()
 {
     sajax_init();
     sajax_export("AJAXSynchronizeDB");
     sajax_export("AJAXSynchronizeOffersCount");
     sajax_handle_client_request();
     $this->synchronizeDB = $this->GetSynchronizeJS();
     $this->synchronizeOffersCount = $this->GetSynchronizeOffersCount();
     $this->ajax = sajax_show_javascript();
 }
開發者ID:uirapuru,項目名稱:virgoapi,代碼行數:10,代碼來源:api.php

示例2: SUEXEC

        }
        $reqarg .= " {$guid}/{$versarg}";
        SUEXEC($uid, "{$unix_pid},{$unix_gid}", "webtemplate_control {$reqarg} {$optarg}", SUEXEC_ACTION_DIE);
    }
    $template->Refresh();
    $html = "";
    if (!$no_output) {
        $html = Show("graph", 0, 0);
    }
    return $html;
}
#
# See if this request is to the above function. Does not return
# if it is. Otherwise return and continue on.
#
sajax_handle_client_request();
#
# Active/Inactive is a plain menu link.
#
if (isset($action) && ($action == "activate" || $action == "inactivate")) {
    GraphChange($action, 0, 1);
}
# Delete is just plain special!
if (isset($action) && $action == "deletetemplate" && isset($confirmed) && $confirmed == "yep") {
    PAGEHEADER("Delete Template: {$guid}/{$vers}");
    STARTBUSY("Deleting template {$guid}/{$vers} recursively");
    # Pass recursive option all the time.
    $retval = SUEXEC($uid, "{$unix_pid},{$unix_gid}", "webtemplate_delete -r {$guid}/{$vers}", SUEXEC_ACTION_IGNORE);
    CLEARBUSY();
    #
    # Fatal Error. Report to the user, even though there is not much he can
開發者ID:mahyuddin,項目名稱:emulab-stable,代碼行數:31,代碼來源:template_show.php

示例3: defined

/**
 * @package JoomlaPack
 * @copyright Copyright (c)2006-2009 JoomlaPack Developers
 * @license GNU General Public License version 2, or later
 * @version $id$
 * @since 1.3
 */
// Protect from unauthorized access
defined('_JEXEC') or die('Restricted Access');
jpimport('helpers.sajax', true);
sajax_init();
sajax_force_page_ajax('backup');
sajax_export('start', 'tick', 'renderProgress', 'addWarning');
$null = null;
sajax_handle_client_request($null);
function start($description, $comment)
{
    jpimport('core.cube');
    JoomlapackCUBE::reset();
    $cube =& JoomlapackCUBE::getInstance();
    $cube->start($description, $comment);
    $cube->save();
    $array = $cube->getCUBEArray();
    return _processCUBE($array);
}
function tick()
{
    jpimport('core.cube');
    JoomlapackLogger::WriteLog(_JP_LOG_DEBUG, '--- Preparing to get instance');
    $cube =& JoomlapackCUBE::getInstance();
開發者ID:rlee1962,項目名稱:diylegalcenter,代碼行數:30,代碼來源:default_raw.php

示例4: processAJAX

 function processAJAX()
 {
     $this->commonSAJAX();
     sajax_handle_client_request($this);
 }
開發者ID:reeleis,項目名稱:ohiocitycycles,代碼行數:5,代碼來源:dbef.php


注:本文中的sajax_handle_client_request函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。