![]() |
Joomla CMS
3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
|
Graphe d'héritage de PlgContentPagenavigation:Fonctions membres publiques | |
| onContentBeforeDisplay ($context, &$row, &$params, $page=0) | |
Fonctions membres privées statiques | |
| static | getQueryDate ($orderDate) |
Pagenavigation plugin class.
|
staticprivate |
Translate an order code to a field for primary ordering.
| string | $orderDate | The ordering code. |
Références $db.
| onContentBeforeDisplay | ( | $context, | |
| & | $row, | ||
| & | $params, | ||
$page = 0 |
|||
| ) |
If in the article view and the parameter is enabled shows the page navigation
| string | $context | The context of the content being passed to the plugin |
| object | &$row | The article object |
| mixed | &$params | The article params |
| integer | $page | The 'page' number |
The following is needed as different menu items types utilise a different param to control ordering. For Blogs the orderby_sec param is the order controlling param. For Table and List views it is the orderby param.
Références $app, $context, $date, $db, $lang, $list, $location, $now, $option, $params, $path, $query, $row, $rows, $user, $view, ContentHelperRoute\getArticleRoute(), et null.