本文整理匯總了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');