本文整理汇总了PHP中HtmlPage::setHeadline方法的典型用法代码示例。如果您正苦于以下问题:PHP HtmlPage::setHeadline方法的具体用法?PHP HtmlPage::setHeadline怎么用?PHP HtmlPage::setHeadline使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类HtmlPage
的用法示例。
在下文中一共展示了HtmlPage::setHeadline方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: HtmlTable
$pdf->SetFont('times', '', 10);
// add a page
$pdf->AddPage();
// Create table object for display
$table = new HtmlTable('adm_lists_table', $pdf, $hoverRows, $datatable, $classTable);
$table->addAttribute('border', '1');
} elseif ($getMode === 'html') {
$datatable = true;
$hoverRows = true;
// create html page object
$page = new HtmlPage();
if ($getFullScreen) {
$page->hideThemeHtml();
}
$page->setTitle($title);
$page->setHeadline($headline);
// Only for active members of a role
if ($getShowMembers === 0) {
// create filter menu with elements for start-/enddate
$filterNavbar = new HtmlNavbar('menu_list_filter', null, null, 'filter');
$form = new HtmlForm('navbar_filter_form', $g_root_path . '/adm_program/modules/lists/lists_show.php', $page, array('type' => 'navbar', 'setFocus' => false));
$form->addInput('date_from', $gL10n->get('LST_ROLE_MEMBERSHIP_IN_PERIOD'), $dateFrom, array('type' => 'date', 'maxLength' => 10));
$form->addInput('date_to', $gL10n->get('LST_ROLE_MEMBERSHIP_TO'), $dateTo, array('type' => 'date', 'maxLength' => 10));
$form->addInput('lst_id', '', $getListId, array('property' => FIELD_HIDDEN));
$form->addInput('rol_ids', '', $getRoleIds, array('property' => FIELD_HIDDEN));
$form->addInput('show_members', '', $getShowMembers, array('property' => FIELD_HIDDEN));
$form->addSubmitButton('btn_send', $gL10n->get('SYS_OK'));
$filterNavbar->addForm($form->show(false));
$page->addHtml($filterNavbar->show(false));
}
$page->addHtml('<h5>' . $htmlSubHeadline . '</h5>');
示例2: toggleDiv
} else {
toggleDiv("comments_" + commentId);
}
}
function toggleDiv(objectId) {
if($("#" + objectId).is(":hidden")) {
$("#" + objectId).show();
} else {
$("#" + objectId).hide();
}
}
');
// add headline and title of module
if ($getModeration == 1) {
$page->setHeadline($gL10n->get('GBO_MODERATE_VAR', $getHeadline));
} else {
$page->setHeadline($getHeadline);
}
// ------------------------------------------------------
// SQL-Statements zur Anzeige der Eintraege zusammensetzen
// ------------------------------------------------------
$conditions = '';
// falls eine id fuer einen bestimmten Gaestebucheintrag uebergeben worden ist...
if ($getGboId > 0) {
$conditions .= ' AND gbo_id = ' . $getGboId;
}
// pruefen ob das Modul Moderation aktiviert ist
if ($gPreferences['enable_guestbook_moderation'] > 0) {
if ($getModeration == 1) {
$conditions .= ' AND ( gbo_locked = 1