本文整理汇总了PHP中Societe::getLibStatut方法的典型用法代码示例。如果您正苦于以下问题:PHP Societe::getLibStatut方法的具体用法?PHP Societe::getLibStatut怎么用?PHP Societe::getLibStatut使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Societe
的用法示例。
在下文中一共展示了Societe::getLibStatut方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
print $thirdparty_static->getNomUrl(0, 'prospect', 0, 1);
}
if (!empty($conf->fournisseur->enabled) && $thirdparty_static->fournisseur) {
if ($thirdparty_static->client) {
print " / ";
}
$thirdparty_static->name = $langs->trans("Supplier");
print $thirdparty_static->getNomUrl(0, 'supplier', 0, 1);
}
print '</td>';
// Last modified date
print '<td align="right">';
print dol_print_date($thirdparty_static->datem, 'day');
print "</td>";
print '<td align="right" class="nowrap">';
print $thirdparty_static->getLibStatut(3);
print "</td>";
print "</tr>\n";
$i++;
}
$db->free();
print "</table>\n";
print "<!-- End last thirdparties modified -->\n";
}
} else {
dol_print_error($db);
}
//print '</td></tr></table>';
print '</div></div></div>';
llxFooter();
$db->close();
示例2: while
print '</td>';
print '<td class="liste_titre" align="right"><input class="liste_titre" type="image" src="' . DOL_URL_ROOT . '/theme/' . $conf->theme . '/img/search.png" value="' . dol_escape_htmltag($langs->trans("Search")) . '" title="' . dol_escape_htmltag($langs->trans("Search")) . '"></td>';
print '</tr>';
$var = True;
while ($i < min($num, $conf->liste_limit)) {
$obj = $db->fetch_object($resql);
$var = !$var;
$thirdpartystatic->id = $obj->socid;
$thirdpartystatic->nom = $obj->nom;
$thirdpartystatic->status = $obj->status;
print "<tr " . $bc[$var] . ">";
print '<td>';
print $thirdpartystatic->getNomUrl(1, 'supplier');
print "</td>\n";
print "<td>" . $obj->ville . "</td>\n";
print '<td align="left">' . $obj->code_fournisseur . ' </td>';
print '<td align="left">' . $obj->code_compta_fournisseur . ' </td>';
print '<td align="right">';
print dol_print_date($db->jdate($obj->datec), 'day') . '</td>';
print '<td align="right">' . $thirdpartystatic->getLibStatut(3) . '</td>';
print "</tr>\n";
$i++;
}
print "</table>\n";
print "</form>\n";
$db->free($resql);
} else {
dol_print_error($db);
}
$db->close();
llxFooter();
示例3: array
print $hookmanager->resPrint;
// Date creation
if (!empty($arrayfields['s.datec']['checked'])) {
print '<td align="center" class="nowrap">';
print dol_print_date($db->jdate($obj->date_creation), 'dayhour');
print '</td>';
}
// Date modification
if (!empty($arrayfields['s.tms']['checked'])) {
print '<td align="center" class="nowrap">';
print dol_print_date($db->jdate($obj->date_update), 'dayhour');
print '</td>';
}
// Status
if (!empty($arrayfields['s.status']['checked'])) {
print '<td align="center" class="nowrap">' . $companystatic->getLibStatut(3) . '</td>';
}
// Action column
print '<td></td>';
print '</tr>' . "\n";
$i++;
}
$db->free($resql);
$parameters = array('arrayfields' => $arrayfields, 'sql' => $sql);
$reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters);
// Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
print "</table>";
print '</form>';
} else {
dol_print_error($db);
示例4: array
$thirdpartystatic->code_client = $obj->code_client;
$thirdpartystatic->canvas = $obj->canvas;
$thirdpartystatic->status = $obj->status;
$thirdpartystatic->name_alias = $obj->name_alias;
print $thirdpartystatic->getNomUrl(1);
print '</td>';
print '<td>' . $obj->zip . '</td>';
print '<td>' . $obj->town . '</td>';
print '<td>' . $obj->code_client . '</td>';
print '<td>' . $obj->code_compta . '</td>';
print '<td align="right">' . dol_print_date($db->jdate($obj->datec), 'day') . '</td>';
$parameters = array('obj' => $obj);
$reshook = $hookmanager->executeHooks('printFieldListValue', $parameters);
// Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
print '<td align="center">' . $thirdpartystatic->getLibStatut(3);
print '</td>';
print '<td></td>';
print "</tr>\n";
$i++;
}
$db->free($result);
$parameters = array('sql' => $sql);
$reshook = $hookmanager->executeHooks('printFieldListFooter', $parameters);
// Note that $action and $object may have been modified by hook
print $hookmanager->resPrint;
print "</table>\n";
print "</form>\n";
} else {
dol_print_error($db);
}