本文整理汇总了PHP中clsAttributes::SetValue方法的典型用法代码示例。如果您正苦于以下问题:PHP clsAttributes::SetValue方法的具体用法?PHP clsAttributes::SetValue怎么用?PHP clsAttributes::SetValue使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类clsAttributes
的用法示例。
在下文中一共展示了clsAttributes::SetValue方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: CCGetEvent
$t_order_log_kronologisForm->Initialize();
BindEvents();
$CCSEventResult = CCGetEvent($CCSEvents, "AfterInitialize", $MainPage);
if ($Charset) {
header("Content-Type: " . $ContentType . "; charset=" . $Charset);
} else {
header("Content-Type: " . $ContentType);
}
//End Initialize Objects
//Initialize HTML Template @1-52F9C312
$CCSEventResult = CCGetEvent($CCSEvents, "OnInitializeView", $MainPage);
$Tpl = new clsTemplate($FileEncoding, $TemplateEncoding);
$Tpl->LoadTemplate(PathToCurrentPage . $TemplateFileName, $BlockToParse, "CP1252");
$Tpl->block_path = "/{$BlockToParse}";
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeShow", $MainPage);
$Attributes->SetValue("pathToRoot", "../");
$Attributes->Show();
//End Initialize HTML Template
//Execute Components @1-067C5593
$t_order_log_kronologisForm->Operation();
//End Execute Components
//Go to destination page @1-E75D8FC8
if ($Redirect) {
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeUnload", $MainPage);
$DBConnSIKP->close();
header("Location: " . $Redirect);
unset($t_order_log_kronologisForm);
unset($Tpl);
exit;
}
//End Go to destination page
示例2: CCGetEvent
$TemplateFileName = "access_denied.html";
$BlockToParse = "main";
$TemplateEncoding = "UTF-8";
$ContentType = "text/html";
$PathToRoot = "./";
$Charset = $Charset ? $Charset : "utf-8";
//End Initialize Page
//Include events file @1-8689EE4A
include_once "./access_denied_events.php";
//End Include events file
//Before Initialize @1-E870CEBC
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeInitialize", $MainPage);
//End Before Initialize
//Initialize Objects @1-C784D665
$Attributes = new clsAttributes("page:");
$Attributes->SetValue("pathToRoot", $PathToRoot);
$MainPage->Attributes =& $Attributes;
// Controls
$footer = new clsfooter("./includes/", "footer", $MainPage);
$footer->Initialize();
$header_access_denied = new clsheader_access_denied("includes/", "header_access_denied", $MainPage);
$header_access_denied->Initialize();
$Label1 = new clsControl(ccsLabel, "Label1", "Label1", ccsText, "", CCGetRequestParam("Label1", ccsGet, NULL), $MainPage);
$NewRecord1 = new clsRecordNewRecord1("", $MainPage);
$MainPage->footer =& $footer;
$MainPage->header_access_denied =& $header_access_denied;
$MainPage->Label1 =& $Label1;
$MainPage->NewRecord1 =& $NewRecord1;
BindEvents();
$CCSEventResult = CCGetEvent($CCSEvents, "AfterInitialize", $MainPage);
if ($Charset) {
示例3: CCGetEvent
$Scripts = "|js/jquery/jquery.js|js/jquery/event-manager.js|js/jquery/selectors.js|js/jquery/updatepanel/ccs-update-panel.js|";
//End Initialize Page
//Include events file @1-0839B7A7
include_once "./p_user_attribute_form_events.php";
//End Include events file
//BeforeInitialize Binding @1-17AC9191
$CCSEvents["BeforeInitialize"] = "Page_BeforeInitialize";
//End BeforeInitialize Binding
//Before Initialize @1-E870CEBC
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeInitialize", $MainPage);
//End Before Initialize
//Initialize Objects @1-B20A34A7
$DBhrcon = new clsDBhrcon();
$MainPage->Connections["hrcon"] =& $DBhrcon;
$Attributes = new clsAttributes("page:");
$Attributes->SetValue("pathToRoot", $PathToRoot);
$MainPage->Attributes =& $Attributes;
// Controls
$MasterPage = new clsMasterPage("/admin.menu/../Designs/d01/", "MasterPage", $MainPage);
$MasterPage->Attributes = $Attributes;
$MasterPage->Initialize();
$Head = new clsPanel("Head", $MainPage);
$Head->PlaceholderName = "Head";
$Content = new clsPanel("Content", $MainPage);
$Content->PlaceholderName = "Content";
$roleForm = new clsRecordroleForm("", $MainPage);
$LovContainer = new clsPanel("LovContainer", $MainPage);
$modal_start = new clsmodal_start("../Designs/modal/", "modal_start", $MainPage);
$modal_start->Initialize();
$LovAjaxPanel = new clsPanel("LovAjaxPanel", $MainPage);
$modal_end = new clsmodal_end("../Designs/modal/", "modal_end", $MainPage);
示例4: CCGetEvent
$MainPage->changepassword_maint =& $changepassword_maint;
$MainPage->lbmessage =& $lbmessage;
BindEvents();
$CCSEventResult = CCGetEvent($CCSEvents, "AfterInitialize", $MainPage);
if ($Charset) {
header("Content-Type: " . $ContentType . "; charset=" . $Charset);
} else {
header("Content-Type: " . $ContentType);
}
//End Initialize Objects
//Initialize HTML Template @1-2785D955
$CCSEventResult = CCGetEvent($CCSEvents, "OnInitializeView", $MainPage);
$Tpl = new clsTemplate($FileEncoding, $TemplateEncoding);
$Tpl->LoadTemplate(PathToCurrentPage . $TemplateFileName, $BlockToParse, "CP1252", "replace");
$Tpl->block_path = "/{$BlockToParse}";
$Attributes->SetValue("message", "");
$Attributes->SetValue("hide_errors", "");
$CCSEventResult = CCGetEvent($CCSEvents, "BeforeShow", $MainPage);
$Attributes->SetValue("pathToRoot", "");
$Attributes->Show();
//End Initialize HTML Template
//Execute Components @1-F8378897
$header->Operations();
$sidebar->Operations();
$ace_settings->Operations();
$footer->Operations();
$meta_head->Operations();
$changepassword_maint->Operations();
//End Execute Components
//Go to destination page @1-27B37EDE
if ($Redirect) {