本文整理汇总了PHP中CAdminForm::GetName方法的典型用法代码示例。如果您正苦于以下问题:PHP CAdminForm::GetName方法的具体用法?PHP CAdminForm::GetName怎么用?PHP CAdminForm::GetName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CAdminForm
的用法示例。
在下文中一共展示了CAdminForm::GetName方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: OnSubmit
echo $str_DESCRIPTION;
?>
</textarea>
</td>
</tr>
<?php
}
$tabControl->EndCustomField("DESCRIPTION");
$tabControl->BeginNextFormTab();
$tabControl->BeginCustomField("UFS", '', false);
$USER_FIELD_MANAGER->EditFormShowTab('LEARNING_QUESTIONS', $bVarsFromForm, $ID);
$tabControl->EndCustomField("UFS");
$tabControl->Buttons(array("back_url" => $from == "learn_admin" ? "learn_unilesson_admin.php?lang=" . LANG . '&LESSON_PATH=' . $uriParentLessonPath . GetFilterParams("filter_", false) . "&from=learn_admin" : "learn_question_admin.php?lang=" . LANG . '&LESSON_PATH=' . $uriLessonPath . GetFilterParams("filter_", false)));
$tabControl->arParams["FORM_ACTION"] = $APPLICATION->GetCurPage() . "?lang=" . LANG . '&LESSON_PATH=' . $uriLessonPath . GetFilterParams("filter_");
$tabControl->Show();
$tabControl->ShowWarnings($tabControl->GetName(), $message);
?>
<script type="text/javascript">
function OnSubmit()
{
var form = document.forms['questionTabControl'];
var ids = form.elements['ANSWER_HIDDEN_ID[]'];
//Text or Sorting
if (form.elements['QUESTION_TYPE'].value == "T" || form.elements['QUESTION_TYPE'].value == "R")
{
return true;
}
//Single
示例2: bitrix_sessid_post
setTimeout('transliterate()', 250);
}
}
else
{
setTimeout('transliterate()', 250);
}
}
transliterate();
</script>
<?
}
?>
<script type="text/javascript">
var InheritedPropertiesTemplates = new JCInheritedPropertiesTemplates(
'<?echo $tabControl->GetName()?>_form',
'/bitrix/admin/iblock_templates.ajax.php?ENTITY_TYPE=E&IBLOCK_ID=<?echo intval($IBLOCK_ID)?>&ENTITY_ID=<?echo intval($ID)?>'
);
BX.ready(function(){
setTimeout(function(){
InheritedPropertiesTemplates.updateInheritedPropertiesTemplates(true);
}, 1000);
});
</script>
<?
$tabControl->EndPrologContent();
$tabControl->BeginEpilogContent();
echo bitrix_sessid_post();
echo GetFilterHiddens("find_");?>
示例3: JCInheritedPropertiesTemplates
setTimeout('transliterate()', 250);
}
}
else
{
setTimeout('transliterate()', 250);
}
}
transliterate();
</script>
<?
}
?>
<script type="text/javascript">
var InheritedPropertiesTemplates = new JCInheritedPropertiesTemplates(
'<?echo $tabControl->GetName()?>_form',
'/bitrix/admin/iblock_templates.ajax.php?ENTITY_TYPE=S&IBLOCK_ID=<?echo intval($IBLOCK_ID)?>&ENTITY_ID=<?echo intval($ID)?>'
);
BX.ready(function(){
setTimeout(function(){
InheritedPropertiesTemplates.updateInheritedPropertiesTemplates(true);
}, 1000);
});
</script>
<?
$tabControl->EndPrologContent();
$tabControl->BeginEpilogContent();
?>
<?php
示例4: toggleSource
"ICON" => "btn_delete",
"TEXT" => GetMessage("LEARNING_UNLINK_LESSON_FROM_PARENT"),
"LINK" => "javascript:if(confirm('"
. GetMessage("LEARNING_CONFIRM_UNLINK_LESSON_FROM_PARENT")
. "'))window.location='learn_unilesson_admin.php?lang=" . LANG
. '&action=unlink'
. '&ID=' . urlencode($g_learn_currentLessonPath)
. "&" . bitrix_sessid_get()
. urlencode(GetFilterParams("filter_", false)) . "';",
);
}
*/
}
$link = DeleteParam(array("mode"));
$link = $GLOBALS["APPLICATION"]->GetCurPage() . "?mode=settings" . ($link != "" ? "&" . $link : "");
$aContext[] = array("TEXT" => GetMessage("LEARNING_FORM_SETTINGS"), "TITLE" => GetMessage("LEARNING_FORM_SETTINGS_EX"), "LINK" => "javascript:" . $tabControl->GetName() . ".ShowSettings('" . urlencode($link) . "')", "ICON" => "btn_settings");
$context = new CAdminContextMenu($aContext);
$context->Show();
if (COption::GetOptionString("learning", "use_htmledit", "Y") == "Y" && CModule::IncludeModule("fileman")) {
//TODO:This dirty hack will be replaced by special method like calendar do
echo '<div style="display:none">';
CFileMan::AddHTMLEditorFrame("SOME_TEXT", "", "SOME_TEXT_TYPE", "text", array('height' => 450, 'width' => '100%'), "N", 0, "", "", false);
echo '</div>';
}
?>
<script type="text/javascript">
function toggleSource() {
if (document.lessonTabControl_form.CONTENT_SOURCE[0].checked)
{
document.getElementById("source_field[0]").style.display = "";
示例5: JCInheritedPropertiesTemplates
}
}
else
{
setTimeout('transliterate()', 250);
}
}
transliterate();
</script>
<?php
}
?>
<script type="text/javascript">
var InheritedPropertiesTemplates = new JCInheritedPropertiesTemplates(
'<?php
echo $tabControl->GetName();
?>
_form',
'/bitrix/admin/iblock_templates.ajax.php?ENTITY_TYPE=E&IBLOCK_ID=<?php
echo intval($IBLOCK_ID);
?>
&ENTITY_ID=<?php
echo intval($ID);
?>
'
);
BX.ready(function(){
setTimeout(function(){
InheritedPropertiesTemplates.updateInheritedPropertiesTemplates(true);
}, 1000);
});