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


PHP QApplication::CheckRemoteAdmin方法代碼示例

本文整理匯總了PHP中QApplication::CheckRemoteAdmin方法的典型用法代碼示例。如果您正苦於以下問題:PHP QApplication::CheckRemoteAdmin方法的具體用法?PHP QApplication::CheckRemoteAdmin怎麽用?PHP QApplication::CheckRemoteAdmin使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在QApplication的用法示例。


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

示例1: Form_Run

 protected function Form_Run()
 {
     // Security check for ALLOW_REMOTE_ADMIN
     // To allow access REGARDLESS of ALLOW_REMOTE_ADMIN, simply remove the line below
     QApplication::CheckRemoteAdmin();
     QApplication::$LoadedPage = 'My Contacts';
 }
開發者ID:sarapsg,項目名稱:prayuj,代碼行數:7,代碼來源:peopledetails_list.php

示例2: Form_Run

 protected function Form_Run()
 {
     QApplication::$LoadedPage = 'Home';
     QApplication::CheckRemoteAdmin();
     isset($_SESSION['User']) ? $_SESSION['User'] = $_SESSION['User'] : ($_SESSION['User'] = '');
     if ($_SESSION['User'] != '') {
         QApplication::Redirect('postlogin.php');
     }
 }
開發者ID:sarapsg,項目名稱:prayuj,代碼行數:9,代碼來源:index.php

示例3:

<?php

// Include prepend.inc to load Qcodo
require '../includes/prepend.inc.php';
/* if you DO NOT have "includes/" in your include_path */
// require('prepend.inc.php');				/* if you DO have "includes/" in your include_path */
// Include the classfile for ShipmentListFormBase
require __FORMBASE_CLASSES__ . '/ShipmentListFormBase.class.php';
// Security check for ALLOW_REMOTE_ADMIN
// To allow access REGARDLESS of ALLOW_REMOTE_ADMIN, simply remove the line below
QApplication::CheckRemoteAdmin();
/**
 * This is a quick-and-dirty draft form object to do the List All functionality
 * of the Shipment class.  It extends from the code-generated
 * abstract ShipmentListFormBase class.
 *
 * Any display customizations and presentation-tier logic can be implemented
 * here by overriding existing or implementing new methods, properties and variables.
 *
 * Additional qform control objects can also be defined and used here, as well.
 * 
 * @package My Application
 * @subpackage FormDraftObjects
 * 
 */
class ShipmentListForm extends ShipmentListFormBase
{
}
// Go ahead and run this form object to generate the page and event handlers, using
// generated/shipment_list.tpl.php as the included HTML template file
ShipmentListForm::Run('ShipmentListForm', 'generated/shipment_list.tpl.php');
開發者ID:heshuai64,項目名稱:einv2,代碼行數:31,代碼來源:shipment_list.php

示例4: Form_Run

 protected function Form_Run()
 {
     QApplication::CheckRemoteAdmin();
 }
開發者ID:eliud254,項目名稱:q-auction,代碼行數:4,代碼來源:plugin_edit.php

示例5: Form_Run

 protected function Form_Run()
 {
     QApplication::$LoadedPage = 'Asset Log';
     QApplication::CheckRemoteAdmin();
 }
開發者ID:sarapsg,項目名稱:prayuj,代碼行數:5,代碼來源:AssetLog.php


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