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 l'interface RulesInterface
+ Graphe d'héritage de RulesInterface:

Fonctions membres publiques

 preprocess (&$query)
 
 parse (&$segments, &$vars)
 
 build (&$query, &$segments)
 

Description détaillée

RouterRules interface for Joomla

Depuis
3.4

Documentation des fonctions membres

◆ build()

build ( $query,
$segments 
)

Builds URI segments from a query to encode the necessary informations for a route in a human-readable URL. This method should retrieve all its input from its method arguments.

Paramètres
array&$queryThe vars that should be converted
array&$segmentsThe URL segments to create
Renvoie
void
Depuis
3.4

Implémenté dans MenuRules, StandardRules, et NomenuRules.

◆ parse()

parse ( $segments,
$vars 
)

Parses a URI to retrieve informations for the right route through the component. This method should retrieve all its input from its method arguments.

Paramètres
array&$segmentsThe URL segments to parse
array&$varsThe vars that result from the segments
Renvoie
void
Depuis
3.4

Implémenté dans MenuRules, NomenuRules, et StandardRules.

◆ preprocess()

preprocess ( $query)

Prepares a query set to be handed over to the build() method. This should complete a partial query set to work as a complete non-SEFed URL and in general make sure that all information is present and properly formatted. For example, the Itemid should be retrieved and set here.

Paramètres
array&$queryThe query array to process
Renvoie
void
Depuis
3.4

Implémenté dans MenuRules, NomenuRules, et StandardRules.


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