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


PHP FunctionsEdit::editFieldInteger方法代码示例

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


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

示例1:

					<td rowspan="3" class="topbottombar">
						<input type="submit" value="<?php 
echo I18N::translate('view');
?>
">
					</td>
				</tr>
				<tr>
					<td class="descriptionbox">
						<?php 
echo I18N::translate('Generations');
?>
					</td>
					<td class="optionbox">
						<?php 
echo FunctionsEdit::editFieldInteger('generations', $controller->generations, 2, $WT_TREE->getPreference('MAX_DESCENDANCY_GENERATIONS'));
?>
					</td>
				</tr>
				<tr>
					<td class="descriptionbox">
						<?php 
echo I18N::translate('Show details');
?>
					</td>
					<td class="optionbox">
						<?php 
echo FunctionsEdit::twoStateCheckbox('show_full', $controller->showFull());
?>
					</td>
				</tr>
开发者ID:tronsmit,项目名称:webtrees,代码行数:31,代码来源:descendancy.php

示例2: array

					</th>
				</tr>
				<tr>
					<td class="optionbox">
						<input class="pedigree_form" data-autocomplete-type="INDI" type="text" id="rootid" name="rootid"
							size="3" value="<?php 
echo $controller->root->getXref();
?>
">
						<?php 
echo FunctionsPrint::printFindIndividualLink('rootid');
?>
					</td>
					<td class="optionbox center">
						<?php 
echo FunctionsEdit::editFieldInteger('PEDIGREE_GENERATIONS', $controller->generations, 3, $WT_TREE->getPreference('MAX_PEDIGREE_GENERATIONS'));
?>
					</td>
					<td class="optionbox center">
						<?php 
echo FunctionsEdit::selectEditControl('orientation', array(0 => I18N::translate('Portrait'), 1 => I18N::translate('Landscape'), 2 => I18N::translate('Oldest at top'), 3 => I18N::translate('Oldest at bottom')), null, $controller->orientation);
?>
					</td>
					<td class="optionbox center">
						<?php 
echo FunctionsEdit::twoStateCheckbox('show_full', $controller->showFull());
?>
					</td>
				</tr>
			</tbody>
		</table>
开发者ID:tronsmit,项目名称:webtrees,代码行数:31,代码来源:pedigree.php

示例3:

echo I18N::translate('view');
?>
">
					</td>
				</tr>
				<tr>
					<td class="descriptionbox">
						<label for="generations">
							<?php 
echo I18N::translate('Generations');
?>
						</label>
					</td>
					<td class="optionbox">
						<?php 
echo FunctionsEdit::editFieldInteger('generations', $controller->generations, 2, 9);
?>
					</td>
					<td class="descriptionbox">
						<label for="fan_width">
							<?php 
echo I18N::translate('Zoom');
?>
						</label>
					</td>
					<td class="optionbox">
						<input type="text" size="3" id="fan_width" name="fan_width" value="<?php 
echo $controller->fan_width;
?>
"> %
					</td>
开发者ID:tronsmit,项目名称:webtrees,代码行数:31,代码来源:fanchart.php


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