Joomla CMS
3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
|
Fonctions membres publiques | |
onContentPrepare ($context, &$row, &$params, $page=0) | |
Fonctions membres protégées | |
_createToc (&$row, &$matches, &$page) | |
_createNavigation (&$row, $page, $n) | |
Attributs protégés | |
$list = array() | |
Page break plugin
Usage:
or
or
or
|
protected |
Creates the navigation for the item
object | &$row | The article object. Note $article->text is also available |
int | $page | The page number |
int | $n | The total number of pages |
Références $n, $path, $row, et ContentHelperRoute\getArticleRoute().
|
protected |
Creates a Table of Contents for the pagebreak
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 |
Références $i, $input, $list, $path, $row, $title, elseif, ENT_QUOTES, ContentHelperRoute\getArticleRoute(), et htmlspecialchars.
onContentPrepare | ( | $context, | |
& | $row, | ||
& | $params, | ||
$page = 0 |
|||
) |
Plugin that adds a pagebreak into the text and truncates text at that point
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 |
Références $context, $input, $key, $n, $params, $row, $style, $text, $title, $view, et elseif.
|
protected |