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

Fonctions membres publiques

 display ($cachable=false, $urlparams=array())
 
 __construct ($config=array())
 
 display ($cachable=false, $urlparams=false)
 

Attributs protégés

 $default_view = 'articles'
 

Description détaillée

Component Controller

Depuis
1.5

Content Component Controller

Depuis
1.5

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $config = array())

Constructor.

Paramètres
array$configAn optional associative array of configuration settings. Recognized key values include 'name', 'default_task', 'model_path', and 'view_path' (this list is not meant to be comprehensive).
Depuis
3.0.1

Références $config, elseif, et JPATH_COMPONENT_ADMINISTRATOR.

Documentation des fonctions membres

◆ display() [1/2]

display (   $cachable = false,
  $urlparams = array() 
)

Method to display a view.

Paramètres
boolean$cachableIf true, the view output will be cached
array$urlparamsAn array of safe URL parameters and their variable types, for valid values see JFilterInput::clean().
Renvoie
ContentController This object to support chaining.
Depuis
1.5

Références $id, $layout, et $view.

◆ display() [2/2]

display (   $cachable = false,
  $urlparams = false 
)

Method to display a view.

Paramètres
boolean$cachableIf true, the view output will be cached.
boolean$urlparamsAn array of safe URL parameters and their variable types, for valid values see JFilterInput::clean().
Renvoie
JController This object to support chaining.
Depuis
1.5

Set the default view name and format from the Request. Note we are using a_id to avoid collisions with the router and the return page. Frontend is a bit messier than the backend.

Références $id, $user, et JError\raiseError().

Documentation des champs

◆ $default_view

$default_view = 'articles'
protected

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