Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence de la classe Parser
+ Graphe d'héritage de Parser:

Fonctions membres publiques

 parse ($input)
 

Fonctions membres publiques statiques

static getInstance ($format)
 

Fonctions membres protégées

 process ($input)
 

Attributs protégés statiques

static $instances = array()
 

Description détaillée

Parser base class for the Finder indexer package.

Depuis
2.5

Documentation des fonctions membres

◆ getInstance()

static getInstance (   $format)
static

Method to get a parser, creating it if necessary.

Paramètres
string$formatThe type of parser to load.
Renvoie
Parser A Parser instance.
Depuis
2.5
Exceptions

Références $class, $format, InputFilter\getInstance(), et Text\sprintf().

Référencé par Helper\parse().

◆ parse()

parse (   $input)

Method to parse input and extract the plain text. Because this method is called from both inside and outside the indexer, it needs to be able to batch out its parsing functionality to deal with the inefficiencies of regular expressions. We will parse recursively in 2KB chunks.

Paramètres
string$inputThe input to parse.
Renvoie
string The plain text input.
Depuis
2.5

Références $input, $return, $start, et null.

◆ process()

process (   $input)
abstractprotected

Method to process input and extract the plain text.

Paramètres
string$inputThe input to process.
Renvoie
string The plain text input.
Depuis
2.5

Documentation des champs

◆ $instances

$instances = array()
staticprotected

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