本文整理汇总了PHP中Adherent::getFullname方法的典型用法代码示例。如果您正苦于以下问题:PHP Adherent::getFullname方法的具体用法?PHP Adherent::getFullname怎么用?PHP Adherent::getFullname使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Adherent
的用法示例。
在下文中一共展示了Adherent::getFullname方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: Adherent
print '<br>';
}
print '<a href="' . DOL_URL_ROOT . '/contact/fiche.php?id=' . $fuser->contact_id . '">' . img_object($langs->trans("ShowContact"), 'contact') . ' ' . dol_trunc($contact->getFullName($langs), 32) . '</a>';
}
print '</td>';
print '</tr>' . "\n";
}
// Module Adherent
if ($conf->adherent->enabled) {
$langs->load("members");
print '<tr><td valign="top">' . $langs->trans("LinkedToDolibarrMember") . '</td>';
print '<td>';
if ($fuser->fk_member) {
$adh = new Adherent($db);
$adh->fetch($fuser->fk_member);
$adh->ref = $adh->getFullname($langs);
// Force to show login instead of id
print $adh->getNomUrl(1);
} else {
print $langs->trans("UserNotLinkedToMember");
}
print '</td>';
print '</tr>' . "\n";
}
print "</table>\n";
print "</div>\n";
/*
* Barre d'actions
*/
print '<div class="tabsAction">';
if ($caneditfield && (empty($conf->multicompany->enabled) || ($fuser->entity == $conf->entity || $fuser->entity == $user->entity))) {
示例2: Adherent
}
print '</td>';
print '</tr>'."\n";
}
// Module Adherent
if (! empty($conf->adherent->enabled))
{
$langs->load("members");
print '<tr><td>'.$langs->trans("LinkedToDolibarrMember").'</td>';
print '<td>';
if ($object->fk_member)
{
$adh=new Adherent($db);
$adh->fetch($object->fk_member);
$adh->ref=$adh->getFullname($langs); // Force to show login instead of id
print $adh->getNomUrl(1);
}
else
{
print $langs->trans("UserNotLinkedToMember");
}
print '</td>';
print '</tr>'."\n";
}
// Multicompany
// TODO This should be done with hook formObjectOption
if (is_object($mc))
{
if (! empty($conf->multicompany->enabled) && empty($conf->multicompany->transverse_mode) && $conf->entity == 1 && $user->admin && ! $user->entity)