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 FOFAutoloaderComponent

Fonctions membres publiques

 __construct ()
 
 isFOFComponent ($component)
 
 autoload_fof_controller ($class_name)
 
 autoload_fof_model ($class_name)
 
 autoload_fof_view ($class_name)
 
 autoload_fof_table ($class_name)
 
 autoload_fof_helper ($class_name)
 
 autoload_fof_toolbar ($class_name)
 
 autoload_fof_field ($class_name)
 

Fonctions membres publiques statiques

static init ()
 

Attributs publics statiques

static $autoloader = null
 
static $fofPath = null
 

Attributs protégés statiques

static $fofComponents = array()
 

Fonctions membres privées

 class_alias ($original, $alias, $autoload=true)
 

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( )

Public constructor. Registers the autoloader with PHP.

Documentation des fonctions membres

◆ autoload_fof_controller()

autoload_fof_controller (   $class_name)

Autoload Controllers

Paramètres
string$class_nameThe name of the class to load
Renvoie
void

Références $component, $file, $parts, $path, $view, FOFInflector\camelize(), elseif, FOFPlatform\getInstance(), FOFDispatcher\isCliAdmin(), FOFInflector\isSingular(), null, FOFInflector\pluralize(), et FOFInflector\singularize().

◆ autoload_fof_field()

autoload_fof_field (   $class_name)

Autoload Fields

Paramètres
string$class_nameThe name of the class to load
Renvoie
void

Références FOFPlatform\getInstance().

◆ autoload_fof_helper()

autoload_fof_helper (   $class_name)

Autoload Helpers

Paramètres
string$class_nameThe name of the class to load
Renvoie
void

Références $component, $file, $parts, $path, $view, FOFInflector\camelize(), FOFPlatform\getInstance(), FOFDispatcher\isCliAdmin(), FOFInflector\isSingular(), null, FOFInflector\pluralize(), et FOFInflector\singularize().

◆ autoload_fof_model()

autoload_fof_model (   $class_name)

Autoload Models

Paramètres
string$class_nameThe name of the class to load
Renvoie
void

Références $component, $file, $parts, $path, $view, FOFInflector\camelize(), elseif, FOFPlatform\getInstance(), FOFDispatcher\isCliAdmin(), FOFInflector\isSingular(), null, FOFInflector\pluralize(), et FOFInflector\singularize().

◆ autoload_fof_table()

autoload_fof_table (   $class_name)

Autoload Tables

Paramètres
string$class_nameThe name of the class to load
Renvoie
void

Références $component, $file, $parts, $path, $view, FOFInflector\camelize(), elseif, FOFPlatform\getInstance(), FOFDispatcher\isCliAdmin(), FOFInflector\isSingular(), null, FOFInflector\pluralize(), et FOFInflector\singularize().

◆ autoload_fof_toolbar()

autoload_fof_toolbar (   $class_name)

Autoload Toolbars

Paramètres
string$class_nameThe name of the class to load
Renvoie
void

Références $component, $file, $parts, $path, FOFPlatform\getInstance(), FOFDispatcher\isCliAdmin(), et null.

◆ autoload_fof_view()

autoload_fof_view (   $class_name)

◆ class_alias()

class_alias (   $original,
  $alias,
  $autoload = true 
)
private

Creates class aliases. On systems where eval() is enabled it creates a real class. On other systems it merely creates an alias. The eval() method is preferred as class_aliases result in the name of the class being instantiated not being available, making it impossible to create a class instance without passing a $config array :(

Paramètres
string$originalThe name of the original (existing) class
string$aliasThe name of the new (aliased) class
boolean$autoloadShould I try to autoload the $original class?
Renvoie
void

Références null.

◆ init()

static init ( )
static

Initialise this autoloader

Renvoie
FOFAutoloaderComponent

Références null.

◆ isFOFComponent()

isFOFComponent (   $component)

Returns true if this is a FOF-powered component, i.e. if it has a fof.xml file in its main directory.

Paramètres
string$componentThe component's name
Renvoie
boolean

Références $component, et FOFPlatform\getInstance().

Documentation des champs

◆ $autoloader

$autoloader = null
static

◆ $fofComponents

$fofComponents = array()
staticprotected

◆ $fofPath

$fofPath = null
static

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