本文整理汇总了PHP中Adherent::datatablesCreate方法的典型用法代码示例。如果您正苦于以下问题:PHP Adherent::datatablesCreate方法的具体用法?PHP Adherent::datatablesCreate怎么用?PHP Adherent::datatablesCreate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Adherent
的用法示例。
在下文中一共展示了Adherent::datatablesCreate方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: end_box
$obj->aoColumns[$i]->fnRender = 'function(obj) {
var ar = [];
ar[ar.length] = "<a href=\\"' . $url . '?id=";
ar[ar.length] = obj.aData._id.toString();
ar[ar.length] = "&action=edit&backtopage=' . $_SERVER['PHP_SELF'] . '\\" class=\\"sepV_a\\" title=\\"' . $langs->trans("Edit") . '\\"><img src=\\"' . DOL_URL_ROOT . '/theme/' . $conf->theme . '/img/edit.png\\" alt=\\"\\" /></a>";
ar[ar.length] = "<a href=\\"' . $url . '?id=";
ar[ar.length] = obj.aData._id.toString();
ar[ar.length] = "&action=resign&backtopage=' . $_SERVER['PHP_SELF'] . '\\" class=\\"sepV_a\\" title=\\"' . $langs->trans("Resiliate") . '\\"><img src=\\"' . DOL_URL_ROOT . '/theme/' . $conf->theme . '/img/disable.png\\" alt=\\"\\" /></a>";
ar[ar.length] = "<a href=\\"' . $url . '?id=";
ar[ar.length] = obj.aData._id.toString();
ar[ar.length] = "&action=delete&backtopage=' . $_SERVER['PHP_SELF'] . '\\" class=\\"sepV_a\\" title=\\"' . $langs->trans("Delete") . '\\"><img src=\\"' . DOL_URL_ROOT . '/theme/' . $conf->theme . '/img/delete.png\\" alt=\\"\\" /></a>";
var str = ar.join("");
return str;
}';
print '</tr>';
print '</thead>';
print '<tfoot>';
print '</tfoot>';
print '<tbody>';
print '</tbody>';
print "</table>";
print "</div>";
$obj->bServerSide = true;
$object->datatablesCreate($obj, "member", true, true);
print end_box();
print '</div>';
// end row
llxFooter();
?>
示例2: end_box
print '<br>';
$form->select_types_paiements('', 'paymenttypeid');
print '<input name="num_chq" type="text" class="flat" size="5">';
} else {
print ' ';
}
print "</td>\n";
}
}
// Date start
print '<td>' . $objp->dateh . "</td>\n";
// Date end
print '<td>' . $objp->datef . "</td>\n";
// Price
print '<td>' . $objp->amount . '</td>';
print "</tr>";
$i++;
}
}
print '</tbody>';
print "</table>";
print "</div>";
$obj->bServerSide = false;
$obj->sDom = 'l<fr>t<\\"clear\\"rtip>';
$obj->aaSorting = array(array(1, 'asc'));
$adherent->datatablesCreate($obj, "cotisation_datatable");
print end_box();
print '</div>';
// end row
$db->close();
llxFooter();
示例3: array
print $tmp_id;
print '</td>';
print '<td>';
print $tmp_id . '</td>';
print '<td align="right">' . $nb . '</td>';
print "</tr>";
$i++;
}
}
print '</tbody>';
print "</table>";
print "</div>";
$obj->bServerSide = false;
$obj->aaSorting = array(array(1, "asc"));
$obj->sDom = 'l<fr>t<\\"clear\\"rtip>';
$object->datatablesCreate($obj, "membertype", false, true);
print "</div>";
print dol_fiche_end();
}
/* * ************************************************************************* */
/* */
/* Edition de la fiche */
/* */
/* * ************************************************************************* */
if ($rowid) {
print '<div class="row">';
$titre = $langs->trans("MemberType");
print start_box($titre, "twelve", "16-Users.png");
dol_fiche_head($head, 'card', $langs->trans("MemberType"), 0, 'group');
print '<table class="border" width="100%">';
// Label