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


PHP BigTree::getTableSelectOptions方法代码示例

本文整理汇总了PHP中BigTree::getTableSelectOptions方法的典型用法代码示例。如果您正苦于以下问题:PHP BigTree::getTableSelectOptions方法的具体用法?PHP BigTree::getTableSelectOptions怎么用?PHP BigTree::getTableSelectOptions使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在BigTree的用法示例。


在下文中一共展示了BigTree::getTableSelectOptions方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: htmlspecialchars

<section>
	<div class="left last">
		<fieldset>
			<label class="required">Title <small>(for reference only, not shown in the embed)</small></label>
			<input type="text" class="required" name="title" value="<?php 
echo $title;
?>
" />
		</fieldset>

		<fieldset>
			<label class="required">Data Table</label>
			<select name="table" id="form_table" class="required">
				<option></option>
				<?php 
BigTree::getTableSelectOptions($table);
?>
			</select>
		</fieldset>

		<fieldset>
			<label>Thank You Message</label>
			<textarea name="thank_you_message" id="thank_you_message"><?php 
echo htmlspecialchars($thank_you_message);
?>
</textarea>
		</fieldset>
	</div>
	<div class="right last">
		<fieldset>
			<label>Preprocessing Function <small>(passes in post data, returns keyed array of adds/edits)</small></label>
开发者ID:matthisamoto,项目名称:Graphfan,代码行数:31,代码来源:_form.php

示例2:

</select>
		<?php 
} else {
    ?>
		<input type="text" disabled="disabled" value="Please select &quot;Connecting Table&quot;" />
		<?php 
}
?>
	</div>
</fieldset>
<fieldset>
	<label>Other Table</label>
	<select name="mtm-other-table" class="table_select">
		<option></option>
		<?php 
BigTree::getTableSelectOptions($data["mtm-other-table"]);
?>
	</select>
</fieldset>
<fieldset>
	<label>Other Descriptor</label>
	<div data-name="mtm-other-descriptor" class="pop-dependant mtm-other-table">
		<?php 
if ($data["mtm-other-table"]) {
    ?>
		<select name="mtm-other-descriptor"><?php 
    BigTree::getFieldSelectOptions($data["mtm-other-table"], $data["mtm-other-descriptor"]);
    ?>
</select>
		<?php 
} else {
开发者ID:matthisamoto,项目名称:Graphfan,代码行数:31,代码来源:many-to-many.php

示例3:

    }
    ?>
"></a>
						<?php 
    echo $table;
    ?>
					</li>
					<?php 
}
?>
				</ul>
				<div class="add_table adder">
					<a class="icon_small icon_small_add" href="#"></a>
					<select class="custom_control">
						<?php 
BigTree::getTableSelectOptions();
?>
					</select>
				</div>
			</article>
		</section>
		<footer>
			<input type="submit" class="button blue" value="Continue" />
		</footer>
	</form>
</div>
<script>
	$(".add_table a").click(function(ev) {
		table = $(this).next().val();
		if (table) {
			li = $("<li>");
开发者ID:matthisamoto,项目名称:Graphfan,代码行数:31,代码来源:files.php

示例4:

} else {
    ?>
				<input type="text" disabled="disabled" value="Please select &quot;Main Table&quot;" />
				<?php 
}
?>
			</div>
		</fieldset>
	</article>
	<article>
		<fieldset>
			<label>Other Table</label>
			<select name="gbp[other_table]" class="table_select">
				<option></option>
				<?php 
BigTree::getTableSelectOptions($gbp["other_table"]);
?>
			</select>
		</fieldset>
		<fieldset name="gbp[title_field]">
			<label>Title Field</label>
			<div>
				<?php 
if ($gbp["other_table"]) {
    ?>
				<select name="gbp[title_field]">
					<?php 
    BigTree::getFieldSelectOptions($gbp["other_table"], $gbp["title_field"]);
    ?>
				</select>
				<?php 
开发者ID:kurt-planet,项目名称:BigTree-CMS,代码行数:31,代码来源:_gbp.php

示例5:

} else {
    ?>
	<input name="sort" type="text" disabled="disabled" placeholder="Choose a Data Table first." />
	<?php 
}
?>
</fieldset>

<h4>Grouping Parameters</h4>

<fieldset>
	<label>Other Table</label>
	<select name="other_table" class="table_select">
		<option></option>
		<?php 
BigTree::getTableSelectOptions($other_table);
?>
	</select>
</fieldset>

<fieldset>
	<label>Field to Pull for Title</label>
	<div data-name="title_field">
		<?php 
if ($other_table) {
    ?>
		<select name="title_field">
			<?php 
    BigTree::getFieldSelectOptions($other_table, $title_field);
    ?>
		</select>
开发者ID:kurt-planet,项目名称:BigTree-CMS,代码行数:31,代码来源:grouped.php

示例6:

></div>

<div class="list_type_options" id="db_list_options"<?php 
if ($data["list_type"] != "db") {
    ?>
 style="display: none;"<?php 
}
?>
>
	<h4>Database Populated List Options</h4>
	<fieldset>
		<label>Table</label>
		<select name="pop-table" class="table_select">
			<option></option>
			<?php 
BigTree::getTableSelectOptions($data["pop-table"]);
?>
		</select>
	</fieldset>
	
	<fieldset>
		<label>Description Field</label>
		<div data-name="pop-description" class="pop-dependant pop-table">
			<?php 
if ($data["pop-table"]) {
    ?>
			<select name="pop-description"><?php 
    BigTree::getFieldSelectOptions($data["pop-table"], $data["pop-description"]);
    ?>
</select>
			<?php 
开发者ID:kalle0045,项目名称:BigTree-CMS,代码行数:31,代码来源:list.php

示例7: htmlspecialchars

<section>
	<div class="left last">
		<fieldset>
			<label class="required">Item Title <small>(for example, "Question" as in "Adding Question")</small></label>
			<input type="text" name="title" value="<?php 
echo $form["title"];
?>
" class="required" />
		</fieldset>

		<fieldset>
			<label class="required">Data Table</label>
			<select name="table" id="form_table" class="required">
				<option></option>
				<?php 
BigTree::getTableSelectOptions($form["table"]);
?>
			</select>
		</fieldset>

		<fieldset>
			<a href="#" id="manage_hooks"><span class="icon_small icon_small_lightning"></span> Manage Hooks</a>
			<input name="hooks" type="hidden" id="form_hooks" value="<?php 
echo htmlspecialchars(json_encode($form["hooks"]));
?>
" />

			<input type="checkbox" name="tagging" <?php 
if ($form["tagging"]) {
    ?>
checked="checked" <?php 
开发者ID:kurt-planet,项目名称:BigTree-CMS,代码行数:31,代码来源:_form.php


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