PHP Doku:: Set the numbering style for the specified range of pages - function.harudoc-addpagelabel.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzNon-Text MIME-AusgabenHaru PDFThe HaruDoc classHaruDoc::addPageLabel

Ein Service von Reinhard Neidl - Webprogrammierung.

The HaruDoc class

<<HaruDoc::addPage

HaruDoc::__construct>>

HaruDoc::addPageLabel

(PECL haru >= 0.0.1)

HaruDoc::addPageLabelSet the numbering style for the specified range of pages

Beschreibung

bool HaruDoc::addPageLabel ( int $first_page , int $style , int $first_num [, string $prefix = "" ] )

Set the numbering style for the specified range of pages.

Parameter-Liste

first_page

The first page included into the labeling range.

style

The numbering style. The following values are allowed:

  • HaruPage::NUM_STYLE_DECIMAL - page label is displayed using decimal numerals.
  • HaruPage::NUM_STYLE_UPPER_ROMAN - page label is displayed using uppercase Roman numerals.
  • HaruPage::NUM_STYLE_LOWER_ROMAN - page label is displayed using lowercase Roman numerals.
  • HaruPage::NUM_STYLE_UPPER_LETTER - page label is displayed using uppercase letters (from A to Z).
  • HaruPage::NUM_STYLE_LOWER_LETTERS - page label is displayed using lowercase letters (from a to z).

first_num

The first page number in this range.

prefix

The prefix for the page label.

Rückgabewerte

Returns TRUE on success.

Fehler/Exceptions

Throws a HaruException on error.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)