本文整理匯總了PHP中EditPage::processEditPageSecurity方法的典型用法代碼示例。如果您正苦於以下問題:PHP EditPage::processEditPageSecurity方法的具體用法?PHP EditPage::processEditPageSecurity怎麽用?PHP EditPage::processEditPageSecurity使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類EditPage
的用法示例。
在下文中一共展示了EditPage::processEditPageSecurity方法的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");