本文整理汇总了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");