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é
Référence de la classe LayoutHelper

Fonctions membres publiques statiques

static debug ($layoutFile, $displayData=null, $basePath='', $options=null)
 
static render ($layoutFile, $displayData=null, $basePath='', $options=null)
 

Attributs publics statiques

static $defaultBasePath = ''
 

Description détaillée

Helper to render a Layout object, storing a base path

3.1

Documentation des fonctions membres

◆ debug()

static debug (   $layoutFile,
  $displayData = null,
  $basePath = '',
  $options = null 
)
static

Method to render a layout with debug info

Paramètres
string$layoutFileDot separated path to the layout file, relative to base path
mixed$displayDataObject which properties are used inside the layout file to build displayed output
string$basePathBase path to use when loading layout files
mixed$optionsOptional custom options to load. Registry or array format
Renvoie
string
Depuis
3.5

Références $basePath, $displayData, $layout, $options, et null.

◆ render()

static render (   $layoutFile,
  $displayData = null,
  $basePath = '',
  $options = null 
)
static

Method to render the layout.

Paramètres
string$layoutFileDot separated path to the layout file, relative to base path
mixed$displayDataObject which properties are used inside the layout file to build displayed output
string$basePathBase path to use when loading layout files
mixed$optionsOptional custom options to load. Registry or array format
Renvoie
string
Depuis
3.1

Références $basePath, $displayData, $layout, $options, et null.

Référencé par HTMLHelper\calendar(), ModulesRenderer\render(), MessageRenderer\render(), et ErrorDocument\renderBacktrace().

Documentation des champs

◆ $defaultBasePath

$defaultBasePath = ''
static

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