本文整理匯總了PHP中collection::getSubcommunityIdWidget方法的典型用法代碼示例。如果您正苦於以下問題:PHP collection::getSubcommunityIdWidget方法的具體用法?PHP collection::getSubcommunityIdWidget怎麽用?PHP collection::getSubcommunityIdWidget使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類collection
的用法示例。
在下文中一共展示了collection::getSubcommunityIdWidget方法的2個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: testArgs
?>
</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
function testArgs()
示例2: checkedArr
?>
</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 community under another community</p>
<div id="status"><?php
echo $status;
?>
</div>
<?php
collection::getSubcommunityIdWidget(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
function checkedArr($arr, $value)