本文整理汇总了PHP中Adherent::getmorphylib方法的典型用法代码示例。如果您正苦于以下问题:PHP Adherent::getmorphylib方法的具体用法?PHP Adherent::getmorphylib怎么用?PHP Adherent::getmorphylib使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Adherent
的用法示例。
在下文中一共展示了Adherent::getmorphylib方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
print load_fiche_titre($langs->trans("MembersByNature"), '', '');
}
// Print array
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">';
print '<td align="center">' . $langs->trans("Nature") . '</td>';
print '<td align="right">' . $langs->trans("NbOfMembers") . '</td>';
print '<td align="center">' . $langs->trans("LastMemberDate") . '</td>';
print '</tr>';
if (!$foundphy) {
$data[] = array('label' => 'phy', 'nb' => '0', 'lastdate' => '');
}
if (!$foundmor) {
$data[] = array('label' => 'mor', 'nb' => '0', 'lastdate' => '');
}
$oldyear = 0;
$var = true;
foreach ($data as $val) {
$year = $val['year'];
$var = !$var;
print '<tr ' . $bc[$var] . '>';
print '<td align="center">' . $memberstatic->getmorphylib($val['label']) . '</td>';
print '<td align="right">' . $val['nb'] . '</td>';
print '<td align="center">' . dol_print_date($val['lastdate'], 'dayhour') . '</td>';
print '</tr>';
$oldyear = $year;
}
print '</table>';
dol_fiche_end();
llxFooter();
$db->close();
示例2: print
// Lastname
print "<td><a href=\"card.php?rowid={$objp->rowid}\">";
print !empty($objp->lastname) || !empty($objp->firstname) ? dol_trunc($memberstatic->getFullName($langs)) : '';
print (!empty($objp->lastname) || !empty($objp->firstname)) && !empty($companyname) ? ' / ' : '';
print !empty($companyname) ? dol_trunc($companyname, 32) : '';
print "</a></td>\n";
// Login
print "<td>" . $objp->login . "</td>\n";
// Type
$membertypestatic->id = $objp->type_id;
$membertypestatic->libelle = $objp->type;
print '<td class="nowrap">';
print $membertypestatic->getNomUrl(1, 32);
print '</td>';
// Moral/Physique
print "<td>" . $memberstatic->getmorphylib($objp->morphy) . "</td>\n";
// EMail
print "<td>" . dol_print_email($objp->email, 0, 0, 1) . "</td>\n";
// Statut
print '<td class="nowrap">';
print $memberstatic->LibStatut($objp->statut, $objp->cotisation, $datefin, 2);
print "</td>";
// End of subscription date
if ($datefin) {
print '<td align="center" class="nowrap">';
print dol_print_date($datefin, 'day');
if ($datefin < $now - $conf->adherent->cotisation->warning_delay && $objp->statut > 0) {
print " " . img_warning($langs->trans("SubscriptionLate"));
}
print '</td>';
} else {
示例3:
{
print "<td><a href=\"fiche.php?rowid=$objp->rowid\">".img_object($langs->trans("ShowMember"),"user").' '.$objp->prenom." ".dol_trunc($objp->nom)."</a></td>\n";
}
// Login
print "<td>".$objp->login."</td>\n";
// Type
print '<td nowrap="nowrap">';
$membertypestatic->id=$objp->type_id;
$membertypestatic->libelle=$objp->type;
print $membertypestatic->getNomUrl(1,12);
print '</td>';
// Moral/Physique
print "<td>".$adh->getmorphylib($objp->morphy)."</td>\n";
// EMail
print "<td>".dol_print_email($objp->email,0,0,1)."</td>\n";
// Statut
print '<td nowrap="nowrap">';
print $adh->LibStatut($objp->statut,$objp->cotisation,$datefin,2);
print "</td>";
// End of subscription date
if ($datefin)
{
print '<td align="center" nowrap="nowrap">';
print dol_print_date($datefin,'day');
if ($datefin < ($now - $conf->adherent->cotisation->warning_delay) && $objp->statut > 0) print " ".img_warning($langs->trans("SubscriptionLate"));