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é
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe PlgContentPagenavigation
+ Graphe d'héritage de PlgContentPagenavigation:

Fonctions membres publiques

 onContentBeforeDisplay ($context, &$row, &$params, $page=0)
 

Fonctions membres privées statiques

static getQueryDate ($orderDate)
 

Description détaillée

Pagenavigation plugin class.

Depuis
1.5

Documentation des fonctions membres

◆ getQueryDate()

static getQueryDate (   $orderDate)
staticprivate

Translate an order code to a field for primary ordering.

Paramètres
string$orderDateThe ordering code.
Renvoie
string The SQL field(s) to order by.
Depuis
3.3

Références $db.

◆ onContentBeforeDisplay()

onContentBeforeDisplay (   $context,
$row,
$params,
  $page = 0 
)

If in the article view and the parameter is enabled shows the page navigation

Paramètres
string$contextThe context of the content being passed to the plugin
object&$rowThe article object
mixed&$paramsThe article params
integer$pageThe 'page' number
Renvoie
mixed void or true
Depuis
1.6

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.


La documentation de cette classe a été générée à partir du fichier suivant :