本文整理匯總了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();
}
示例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
示例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();
示例4: processAJAX
function processAJAX()
{
$this->commonSAJAX();
sajax_handle_client_request($this);
}