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


PHP EditPage::handleBrokenRequest方法代碼示例

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


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

示例1: add_nocache_headers

<?php

@ini_set("display_errors", "1");
@ini_set("display_startup_errors", "1");
require_once "include/dbcommon.php";
require_once "include/calendar_table_variables.php";
require_once 'include/xtempl.php';
require_once 'classes/editpage.php';
require_once "classes/searchclause.php";
add_nocache_headers();
if (!EditPage::processEditPageSecurity($strTableName)) {
    return;
}
EditPage::handleBrokenRequest();
//	render all necessary layouts
$layout = new TLayout("edit_basic_left", "CityBlueWave", "MobileBlueWave");
$layout->version = 2;
$layout->blocks["top"] = array();
$layout->containers["fields"] = array();
$layout->container_properties["fields"] = array();
$layout->containers["fields"][] = array("name" => "editheader", "block" => "editheader", "substyle" => 2);
$layout->containers["fields"][] = array("name" => "message", "block" => "message_block", "substyle" => 1);
$layout->containers["fields"][] = array("name" => "editfields_simple", "block" => "", "substyle" => 1);
$layout->containers["fields"][] = array("name" => "editbuttons", "block" => "editbuttons", "substyle" => 2);
$layout->skins["fields"] = "fields";
$layout->blocks["top"][] = "fields";
$layout->skins["details"] = "empty";
$layout->blocks["top"][] = "details";
$page_layouts["calendar_table_edit"] = $layout;
$layout->skinsparams = array();
$layout->skinsparams["empty"] = array("button" => "button1");
開發者ID:ryanblanchard,項目名稱:Dashboard,代碼行數:31,代碼來源:calendar_table_edit.php


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