Page break plugin
Usage:
or
or
or
- Depuis
- 1.6
◆ _createNavigation()
_createNavigation |
( |
& |
$row, |
|
|
|
$page, |
|
|
|
$n |
|
) |
| |
|
protected |
Creates the navigation for the item
- Paramètres
-
object | &$row | The article object. Note $article->text is also available |
int | $page | The page number |
int | $n | The total number of pages |
- Renvoie
- void
- Depuis
- 1.6
Références $n, et $path.
◆ _createToc()
_createToc |
( |
& |
$row, |
|
|
& |
$matches, |
|
|
& |
$page |
|
) |
| |
|
protected |
Creates a Table of Contents for the pagebreak
- Paramètres
-
object | &$row | The article object. Note $article->text is also available |
array | &$matches | Array of matches of a regex in onContentPrepare |
integer | &$page | The 'page' number |
- Renvoie
- void
- Depuis
- 1.6
Références $heading, $i, $input, $list, $path, $title, elseif, et ENT_QUOTES.
◆ onContentPrepare()
onContentPrepare |
( |
|
$context, |
|
|
& |
$row, |
|
|
& |
$params, |
|
|
|
$page = 0 |
|
) |
| |
Plugin that adds a pagebreak into the text and truncates text at that point
- Paramètres
-
string | $context | The context of the content being passed to the plugin. |
object | &$row | The article object. Note $article->text is also available |
mixed | &$params | The article params |
integer | $page | The 'page' number |
- Renvoie
- void
- Depuis
- 1.6
Références $context, $input, $key, $n, $params, $style, $text, $title, $view, et elseif.
◆ $list
La documentation de cette classe a été générée à partir du fichier suivant :