当前位置: 首页>>代码示例>>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;未经允许,请勿转载。