當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。