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


PHP QApplication::LoadedPage方法代码示例

本文整理汇总了PHP中QApplication::LoadedPage方法的典型用法代码示例。如果您正苦于以下问题:PHP QApplication::LoadedPage方法的具体用法?PHP QApplication::LoadedPage怎么用?PHP QApplication::LoadedPage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在QApplication的用法示例。


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

示例1: Form_Run

 protected function Form_Run()
 {
     QApplication::$LoadedPage = 'Home';
     if ($_SESSION['User'] == '') {
         QApplication::Redirect('index.php');
     }
 }
开发者ID:sarapsg,项目名称:prayuj,代码行数:7,代码来源:postlogin.php

示例2: Form_Create

 protected function Form_Create()
 {
     QApplication::$LoadedPage = 'My Contacts';
     // Instantiate the Meta DataGrid
     $this->dtgPeopledetailses = new PeopledetailsDataGrid($this);
     // Style the DataGrid (if desired)
     $this->dtgPeopledetailses->CssClass = 'datagrid';
     $this->dtgPeopledetailses->AlternateRowStyle->CssClass = 'alternate';
     // Add Pagination (if desired)
     $this->dtgPeopledetailses->Paginator = new QPaginator($this->dtgPeopledetailses);
     $this->dtgPeopledetailses->ItemsPerPage = 20;
     // Use the MetaDataGrid functionality to add Columns for this datagrid
     // Create an Edit Column
     $strEditPageUrl = 'peopledetails_edit.php';
     $this->dtgPeopledetailses->MetaAddEditLinkColumn($strEditPageUrl, 'Edit', 'Edit');
     // Create the Other Columns (note that you can use strings for peopledetails's properties, or you
     // can traverse down QQN::peopledetails() to display fields that are down the hierarchy)
     $this->dtgPeopledetailses->MetaAddColumn('Id');
     $this->dtgPeopledetailses->MetaAddColumn('FullName');
     $this->dtgPeopledetailses->MetaAddColumn('Address');
     $this->dtgPeopledetailses->MetaAddColumn('Phone');
     $this->dtgPeopledetailses->MetaAddColumn('Email');
     $this->lnkGContacts_Create();
     $this->lnkHome_Create();
     $this->txtSearchTerm_Create();
     $this->btnSearch_Create();
     $this->pnlHeader_Create();
 }
开发者ID:sarapsg,项目名称:prayuj,代码行数:28,代码来源:peopledetails_list.php

示例3: Form_Create

 protected function Form_Create()
 {
     QApplication::$LoadedPage = 'Registeration';
     $this->pnlHeader_Create();
     $this->txtConfirmPass_Create();
     $this->btnCheckAvail_Create();
     $this->btnCancel_Create();
     $this->MemberDetails_Create();
 }
开发者ID:sarapsg,项目名称:prayuj,代码行数:9,代码来源:register.php

示例4: Form_Create

 protected function Form_Create()
 {
     QApplication::$LoadedPage = 'My Library';
     $this->objWaitIcon = new QWaitIcon($this);
     $this->txtSearchTerm_Create();
     $this->btnSearch_Create();
     $this->rdbSearchCategory_Create();
     $this->rdbSearchOptions_Create();
     $this->dtrMyLibrary_Create();
     $this->lnkAddAssets_Create();
     $this->lnkHome_Create();
     $this->objConfirm_Create();
     $this->dlgPeopleBox_Create();
     $this->pnlHeader_Create();
     if (isset($_POST['txtSearchAssets'])) {
         $this->txtSearchTerm = $_POST['txtSearchAssets'];
     }
 }
开发者ID:sarapsg,项目名称:prayuj,代码行数:18,代码来源:MyLibrary.php

示例5: Form_Create

 protected function Form_Create()
 {
     QApplication::$LoadedPage = 'Lend my things';
     $this->pnlLeft_Create();
     $this->pnlRight_Create();
     $this->txtSearchAssets_Create();
     $this->btnSearchAssets_Create();
     $this->btnLendAssets_Create();
     $this->btnBorrowAssets_Create();
     $this->dtrAssets_Create();
     $this->dtrBasket_Create();
     $this->lnkEmptyBasket_Create();
     $this->dlgPeopleBox_Create();
     $this->lnkChoosePerson_Create();
     $this->lnkListView_Create();
     $this->lnkCoverView_Create();
     $this->LoadAssets();
     $this->LoadPeople();
     $this->pnlHeader_Create();
 }
开发者ID:sarapsg,项目名称:prayuj,代码行数:20,代码来源:ShareAssets.php

示例6: Form_Create

 protected function Form_Create()
 {
     QApplication::$LoadedPage = 'Home';
     $this->pnlTitle = new QPanel($this);
     $this->pnlTitle->Text = __VEDA_VERSION__;
     $this->pnlList = new QPanel($this, 'pnlList');
     $this->pnlList->AutoRenderChildren = true;
     $this->pnlEdit = new QPanel($this, 'pnlEdit');
     $this->pnlEdit->AutoRenderChildren = true;
     $this->pnlEdit->Visible = true;
     $this->objDefaultWaitIcon = new QWaitIcon($this);
     $this->lnkMyLibrary = new QLinkButton($this);
     $this->lnkMyLibrary->Text = "My Library";
     $this->lnkMyLibrary->AddAction(new QClickEvent(), new QServerAction('lnkMyLibrary_Click', $this->objDefaultWaitIcon));
     $this->lnkAmazonSearch = new QLinkButton($this);
     $this->lnkAmazonSearch->Text = "Add an Asset";
     $this->lnkAmazonSearch->AddAction(new QClickEvent(), new QServerAction('lnkAmazonSearch_Click', $this->objDefaultWaitIcon));
     $this->lnkAddContact = new QLinkButton($this);
     $this->lnkAddContact->Text = "Add a new Contact";
     $this->lnkAddContact->AddAction(new QClickEvent(), new QServerAction('lnkAddContact_Click', $this->objDefaultWaitIcon));
     $this->lnkShareAssets = new QLinkButton($this);
     $this->lnkShareAssets->Text = "Share your Assets";
     $this->lnkShareAssets->AddAction(new QClickEvent(), new QServerAction('lnkShareAssets_Click', $this->objDefaultWaitIcon));
     /**
      * Create the Login and signup elements here 
      * 
      **/
     $this->txtUserId_Create();
     $this->txtPassword_Create();
     $this->btnLogin_Create();
     $this->lnkRegister_Create();
     $this->lnkSignOut_Create();
     $this->pnlHeader_Create();
     //Create the Checkbox to Remember
     $this->chkRemember_Create();
     //$this->dtgShareDetails_Create();
 }
开发者ID:sarapsg,项目名称:prayuj,代码行数:37,代码来源:index.php

示例7: Form_Run

 protected function Form_Run()
 {
     QApplication::CheckRemoteAdmin();
     QApplication::$LoadedPage = 'Import Contacts';
 }
开发者ID:sarapsg,项目名称:prayuj,代码行数:5,代码来源:ImportContacts.php

示例8: Form_Run

 protected function Form_Run()
 {
     QApplication::$LoadedPage = 'Asset Log';
     QApplication::CheckRemoteAdmin();
 }
开发者ID:sarapsg,项目名称:prayuj,代码行数:5,代码来源:AssetLog.php


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