本文整理汇总了PHP中collection::getCollectionIdWidget方法的典型用法代码示例。如果您正苦于以下问题:PHP collection::getCollectionIdWidget方法的具体用法?PHP collection::getCollectionIdWidget怎么用?PHP collection::getCollectionIdWidget使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类collection
的用法示例。
在下文中一共展示了collection::getCollectionIdWidget方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$header->litPageHeader();
?>
</head>
<body>
<?php
$header->litHeaderAuth(array(), $hasPerm);
?>
<div id="formReindex">
<form method="POST" action="" onsubmit="jobQueue();return true;">
<p>Use this option to re-index the discovery index for a collection</p>
<div id="status"><?php
echo $status;
?>
</div>
<?php
collection::getCollectionIdWidget(util::getPostArg("coll", ""), "coll", " to be reindexed*");
collection::getSubcommunityIdWidget(util::getPostArg("comm", ""), "comm", " to be reindexed*");
?>
<p align="center">
<input id="reindexSubmit" type="submit" title="Submit Form" disabled/>
</p>
<p><em>* One of the 2 selection fields is required</em></p>
</form>
</div>
<?php
$header->litFooter();
?>
</body>
</html>
<?php
示例2:
$header->litPageHeader();
?>
</head>
<body>
<?php
$header->litHeaderAuth(array(), $hasPerm);
?>
<div id="formChangeParent">
<form method="POST" action="" onsubmit="jobQueue();return true;">
<p>Use this option to move a collection to a different community</p>
<div id="status"><?php
echo $status;
?>
</div>
<?php
collection::getCollectionIdWidget(util::getPostArg("child", ""), "child", " to be moved*");
collection::getSubcommunityIdWidget(util::getPostArg("parent", ""), "parent", " to use as a destination*");
?>
<p align="center">
<input id="changeParentSubmit" type="submit" title="Submit Form" disabled/>
</p>
<p><em>* Required field</em></p>
</form>
</div>
<?php
$header->litFooter();
?>
</body>
</html>
<?php