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

Fonctions membres publiques

 get ($view, $method='display', $id=false, $wrkarounds=true)
 
- Fonctions membres publiques hérités de CacheController
 __construct ($options)
 
 __call ($name, $arguments)
 
 get ($id, $group=null)
 
 store ($data, $id, $group=null, $wrkarounds=true)
 

Fonctions membres protégées

 _makeId ($view, $method)
 

Membres hérités additionnels

- Fonctions membres publiques statiques hérités de CacheController
static getInstance ($type='output', $options=array())
 
static addIncludePath ($path='')
 
- Champs de données hérités de CacheController
 $cache
 
 $options
 

Description détaillée

Joomla! Cache view type object

Depuis
1.7.0

Documentation des fonctions membres

◆ _makeId()

_makeId (   $view,
  $method 
)
protected

Generate a view cache ID.

Paramètres
object$viewThe view object to cache output for
string$methodThe method name to cache for the view object
Renvoie
string MD5 Hash
Depuis
1.7.0

Références $view, et Cache\makeId().

◆ get()

get (   $view,
  $method = 'display',
  $id = false,
  $wrkarounds = true 
)

Get the cached view data

Paramètres
object$viewThe view object to cache output for
string$methodThe method name of the view method to cache output for
mixed$idThe cache data ID
boolean$wrkaroundsTrue to enable workarounds.
Renvoie
boolean True if the cache is hit (false else)
Depuis
1.7.0

Références $data, $id, $view, Cache\getWorkarounds(), null, et Cache\setWorkarounds().


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