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


PHP RunnerPage::RunnerPage方法代码示例

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


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

示例1: AddPage

	function AddPage(&$params)
	{
		parent::RunnerPage($params);
		
		$this->formBricks["header"] = "addheader";
		$this->formBricks["footer"] = "addbuttons";		
	}
开发者ID:helbertfurbino,项目名称:sgmofinanceiro,代码行数:7,代码来源:addpage.php

示例2: PrintPage

 /**
  * @constructor
  */
 function PrintPage(&$params = "")
 {
     parent::RunnerPage($params);
     if ($this->selectedRecords) {
         $this->allPagesMode = true;
     }
     //	save selected records in session in normal mode
     //	read them in PDF mode
     if (!$this->pdfMode) {
         $_SESSION[$this->sessionPrefix . "_selection"] = $this->selectedRecords;
     } else {
         $this->selectedRecords = $_SESSION[$this->sessionPrefix . "_selection"];
         unset($_SESSION[$this->sessionPrefix . "_selection"]);
         //	ensure selectedRecords records is array
         if (!$this->selectedRecords) {
             $this->selectedRecords = array();
         }
     }
     $this->printGridLayout = $this->pSet->getPrintGridLayout();
     for ($i = 0; $i < count($this->detailKeysByM); $i++) {
         $this->masterKeys[] = $_SESSION[$this->sessionPrefix . "_masterkey" . ($i + 1)];
     }
     $this->masterTable = $_SESSION[$this->sessionPrefix . "_mastertable"];
     $this->totalsFields = $this->pSet->getTotalsFields();
     $this->splitByRecords = $this->pSet->getPrinterSplitRecords();
     if ($this->pdfMode) {
         $this->splitByRecords = $this->pSet->getPrinterPDFSplitRecords();
     }
 }
开发者ID:sdev1,项目名称:CloudStockEnquiry,代码行数:32,代码来源:printpage.php

示例3: ViewPage

 /**
  * @constructor
  */
 function ViewPage(&$params)
 {
     parent::RunnerPage($params);
     $this->setKeysForJs();
     $this->formBricks["header"] = "viewheader";
     $this->formBricks["footer"] = "viewbuttons";
     $this->assignFormFooterAndHeaderBricks(true);
 }
开发者ID:ryanblanchard,项目名称:Dashboard,代码行数:11,代码来源:viewpage.php

示例4: RemindPasswordPage

 function RemindPasswordPage(&$params)
 {
     parent::RunnerPage($params);
     $this->pSet = new ProjectSettings("DashboardUsers", $this->pageType);
     $this->pSetEdit = $this->pSet;
     $this->formBricks["header"] = "remindheader";
     $this->formBricks["footer"] = "remindbuttons";
     $this->assignFormFooterAndHeaderBricks(true);
 }
开发者ID:ryanblanchard,项目名称:Dashboard,代码行数:9,代码来源:remindpwdpage.php

示例5: ViewPage

	function ViewPage(&$params)
	{
		parent::RunnerPage($params);
		
		$this->setKeysForJs();
		
		$this->formBricks["header"] = "viewheader";
		$this->formBricks["footer"] = "viewbuttons";		
	}
开发者ID:helbertfurbino,项目名称:sgmofinanceiro,代码行数:9,代码来源:viewpage.php

示例6: EditPage

	function EditPage(&$params)
	{
		parent::RunnerPage($params);
		
		$this->editFields = $this->getFieldsByPageType();
		$this->setKeys( $this->keys );
		
		$this->formBricks["header"] = "editheader";
		$this->formBricks["footer"] = "editbuttons";	
	}
开发者ID:helbertfurbino,项目名称:sgmofinanceiro,代码行数:10,代码来源:editpage.php

示例7: LoginPage

	function LoginPage(&$params) 
	{
		// call parent constructor
		parent::RunnerPage($params);
		
		$this->auditObj = GetAuditObject();
		
		$this->formBricks["header"] = "loginheader";
		$this->formBricks["footer"] = "loginbuttons";
	}
开发者ID:helbertfurbino,项目名称:sgmofinanceiro,代码行数:10,代码来源:loginpage.php

示例8: EditPage

 /**
  * @constructor
  */
 function EditPage(&$params)
 {
     parent::RunnerPage($params);
     $this->setKeysForJs();
     $this->auditObj = GetAuditObject($this->tName);
     $this->editFields = $this->getPageFields();
     $this->formBricks["header"] = "editheader";
     $this->formBricks["footer"] = "editbuttons";
     $this->assignFormFooterAndHeaderBricks(true);
 }
开发者ID:ryanblanchard,项目名称:Dashboard,代码行数:13,代码来源:editpage.php

示例9: ReportPage

 function ReportPage(&$params)
 {
     parent::RunnerPage($params);
     $this->crossTable = $this->pSet->isCrossTabReport();
     $this->jsSettings['tableSettings'][$this->tName]['crossTable'] = $this->crossTable;
     $this->jsSettings['tableSettings'][$this->tName]['simpleSearchActive'] = $this->searchClauseObj->simpleSearchActive;
     if ($this->mode == REPORT_DASHBOARD) {
         $this->formBricks["footer"] = array("pagination_block");
     }
 }
开发者ID:kcallow,项目名称:MatchMe,代码行数:10,代码来源:reportpage.php

示例10: LoginPage

 /**
  * @constructor
  */
 function LoginPage(&$params)
 {
     // call parent constructor
     parent::RunnerPage($params);
     $this->pSet = new ProjectSettings("ConsolidatedStockEnquiry_users", $this->pageType);
     $this->pSetEdit = $this->pSet;
     $this->pSetSearch = new ProjectSettings($this->tName, PAGE_SEARCH);
     $this->auditObj = GetAuditObject();
     $this->formBricks["header"] = "loginheader";
     $this->formBricks["footer"] = "loginbuttons";
     $this->assignFormFooterAndHeaderBricks(true);
 }
开发者ID:sdev1,项目名称:CloudStockEnquiry,代码行数:15,代码来源:loginpage.php

示例11: DashboardPage

 /**
  * @constructor
  * @param &Array params
  */
 function DashboardPage(&$params)
 {
     parent::RunnerPage($params);
     // Set language params, if have more than one language
     $this->setLangParams();
     $this->jsSettings['tableSettings'][$this->tName]['dashElements'] = array();
     //	calculate additional element settings
     foreach ($this->pSet->getDashboardElements() as $key => $elem) {
         $permissions = false;
         $newElem = $elem;
         if ($elem['type'] == DASHBOARD_RECORD) {
             // check tables (add, view, edit) permissinons befor add to js
             $newElem['tabsPageTypes'] = array();
             foreach ($elem['tabsPageTypes'] as $idx => $pageType) {
                 if ($this->CheckPermissions($elem['table'], $pageType)) {
                     $permissions = true;
                     $newElem['tabsPageTypes'][] = $pageType;
                 }
             }
         } elseif ($elem['type'] == DASHBOARD_DETAILS) {
             $eset = new ProjectSettings($elem['table']);
             $details = $eset->getDetailTablesArr();
             // add details shortTableNames
             $newElem['details'] = array();
             foreach ($details as $idx => $d) {
                 if (in_array($d['dDataSourceTable'], $elem['notUsedDetailTables'])) {
                     continue;
                 }
                 if ($this->CheckPermissions($d['dDataSourceTable'], $d['dType'])) {
                     $permissions = true;
                     $newElem['details'][$idx] = $d;
                     $this->jsSettings['tableSettings'][$d['dDataSourceTable']]['shortTName'] = $d['dShortTable'];
                 }
             }
         } elseif ($elem['type'] == DASHBOARD_CHART || $elem['type'] == DASHBOARD_REPORT || $elem['type'] == DASHBOARD_SEARCH) {
             $permissions = $this->CheckPermissions($elem['table'], "Search");
         } elseif ($elem['type'] == DASHBOARD_LIST) {
             $permissions = $this->CheckPermissions($elem['table'], "list");
         }
         $this->elementsPermissions[$key] = $permissions;
         if (!$permissions) {
             continue;
         }
         // add shortTableNames and element
         $this->jsSettings['tableSettings'][$elem['table']]['shortTName'] = GetTableURL($elem['table']);
         $this->jsSettings['tableSettings'][$this->tName]['dashElements'][$key] = $newElem;
     }
 }
开发者ID:sdev1,项目名称:CloudStockEnquiry,代码行数:52,代码来源:dashboardpage.php

示例12: RegisterPage

 function RegisterPage(&$params = "")
 {
     parent::RunnerPage($params);
     // fill global password settings
     $this->pwdStrong = GetGlobalData("pwdStrong", false);
     if ($this->pwdStrong) {
         $this->settingsMap["globalSettings"]["pwdLen"] = GetGlobalData("pwdLen", 0);
         $this->settingsMap["globalSettings"]["pwdUnique"] = GetGlobalData("pwdUnique", 0);
         $this->settingsMap["globalSettings"]["pwdDigits"] = GetGlobalData("pwdDigits", 0);
         $this->settingsMap["globalSettings"]["pwdStrong"] = true;
         $this->settingsMap["globalSettings"]["pwdUpperLower"] = GetGlobalData("pwdUpperLower", false);
     }
     $this->formBricks["header"] = "regheader";
     $this->formBricks["footer"] = "regbuttons";
     $this->assignFormFooterAndHeaderBricks(true);
 }
开发者ID:ryanblanchard,项目名称:Dashboard,代码行数:16,代码来源:registerpage.php

示例13: PrintPage

 /**
  * @constructor
  */
 function PrintPage(&$params = "")
 {
     parent::RunnerPage($params);
     if ($this->selectedRecords) {
         $this->allPagesMode = true;
     }
     $this->printGridLayout = $this->pSet->getPrintGridLayout();
     for ($i = 0; $i < count($this->detailKeysByM); $i++) {
         $this->masterKeys[] = $_SESSION[$this->sessionPrefix . "_masterkey" . ($i + 1)];
     }
     $this->masterTable = $_SESSION[$this->sessionPrefix . "_mastertable"];
     $this->totalsFields = $this->pSet->getTotalsFields();
     $this->splitByRecords = $this->pSet->getPrinterSplitRecords();
     if ($this->pdfMode) {
         $this->splitByRecords = $this->pSet->getPrinterPDFSplitRecords();
     }
 }
开发者ID:kcallow,项目名称:MatchMe,代码行数:20,代码来源:printpage.php

示例14: ChangePasswordPage

 function ChangePasswordPage(&$params = "")
 {
     parent::RunnerPage($params);
     $this->pSet = new ProjectSettings("DashboardUsers", $this->pageType);
     $this->pSetEdit = $this->pSet;
     // fill global password settings
     $this->pwdStrong = GetGlobalData("pwdStrong", false);
     if ($this->pwdStrong) {
         $this->settingsMap["globalSettings"]["pwdLen"] = GetGlobalData("pwdLen", 0);
         $this->settingsMap["globalSettings"]["pwdUnique"] = GetGlobalData("pwdUnique", 0);
         $this->settingsMap["globalSettings"]["pwdDigits"] = GetGlobalData("pwdDigits", 0);
         $this->settingsMap["globalSettings"]["pwdStrong"] = true;
         $this->settingsMap["globalSettings"]["pwdUpperLower"] = GetGlobalData("pwdUpperLower", false);
     }
     $this->formBricks["header"] = "changeheader";
     $this->formBricks["footer"] = "changebuttons";
     $this->assignFormFooterAndHeaderBricks(true);
 }
开发者ID:ryanblanchard,项目名称:Dashboard,代码行数:18,代码来源:changepwdpage.php

示例15: ImportPage

 function ImportPage(&$params)
 {
     parent::RunnerPage($params);
     $this->audit = GetAuditObject($this->tName);
     $this->jsSettings['tableSettings'][$this->tName]["importFieldsLables"] = $this->getImportfieldsLabels();
 }
开发者ID:ryanblanchard,项目名称:Dashboard,代码行数:6,代码来源:importpage.php


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