当前位置: 首页>>代码示例>>PHP>>正文


PHP CAdminForm::GetName方法代码示例

本文整理汇总了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
开发者ID:DarneoStudio,项目名称:bitrix,代码行数:31,代码来源:learn_question_edit.php

示例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_");?>
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:iblock_element_edit.php

示例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 
开发者ID:ASDAFF,项目名称:entask.ru,代码行数:31,代码来源:iblock_section_edit.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 = "";
开发者ID:k-kalashnikov,项目名称:geekcon_new,代码行数:31,代码来源:learn_unilesson_edit.php

示例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);
		});
开发者ID:spas-viktor,项目名称:books,代码行数:31,代码来源:iblock_element_edit.php


注:本文中的CAdminForm::GetName方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。