本文整理汇总了PHP中Fisharebest\Webtrees\Functions\FunctionsEdit::editFieldPedigree方法的典型用法代码示例。如果您正苦于以下问题:PHP FunctionsEdit::editFieldPedigree方法的具体用法?PHP FunctionsEdit::editFieldPedigree怎么用?PHP FunctionsEdit::editFieldPedigree使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Fisharebest\Webtrees\Functions\FunctionsEdit
的用法示例。
在下文中一共展示了FunctionsEdit::editFieldPedigree方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<td class="facts_value">
<input data-autocomplete-type="FAM" type="text" id="famid" name="famid" size="8">
<?php
echo FunctionsPrint::printFindFamilyLink('famid');
?>
</td>
</tr>
<tr>
<td class="facts_label">
<?php
echo GedcomTag::getLabel('PEDI');
?>
</td>
<td class="facts_value">
<?php
echo FunctionsEdit::editFieldPedigree('PEDI', '', '', $person);
?>
<p class="small text-muted">
<?php
echo I18N::translate('A child may have more than one set of parents. The relationship between the child and the parents can be biological, legal, or based on local culture and tradition. If no pedigree is specified, then a biological relationship will be assumed.');
?>
</p>
</td>
</tr>
<?php
echo keep_chan($person);
?>
</table>
<p id="save-cancel">
<input type="submit" class="save" value="<?php
echo I18N::translate('save');