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

Fonctions membres publiques

 fetchAssociations ()
 
- Fonctions membres publiques hérités de BaseController
 __construct ($config=array(), MVCFactoryInterface $factory=null, ?CMSApplication $app=null, ?Input $input=null)
 
 addViewPath ($path)
 
 execute ($task)
 
 getModel ($name='', $prefix='', $config=array())
 
 getName ()
 
 getTask ()
 
 getTasks ()
 
 getView ($name='', $type='', $prefix='', $config=array())
 
 redirect ()
 
 registerDefaultTask ($method)
 
 registerTask ($task, $method)
 
 unregisterTask ($task)
 
 setMessage ($text, $type='message')
 
 checkToken ($method='post', $redirect=true)
 
 setRedirect ($url, $msg=null, $type=null)
 
- Fonctions membres publiques hérités de DispatcherAwareInterface
 setDispatcher (DispatcherInterface $dispatcher)
 

Membres hérités additionnels

- Fonctions membres publiques statiques hérités de BaseController
static addModelPath ($path, $prefix='')
 
static createFileName ($type, $parts=array())
 
static getInstance ($prefix, $config=array())
 
- Fonctions membres protégées hérités de BaseController
 addPath ($type, $path)
 
 checkEditId ($context, $id)
 
 createModel ($name, $prefix='', $config=array())
 
 createView ($name, $prefix='', $type='', $config=array())
 
 holdEditId ($context, $id)
 
 releaseEditId ($context, $id)
 
 setPath ($type, $path)
 
- Attributs protégés hérités de BaseController
 $basePath
 
 $default_view
 
 $doTask
 
 $message
 
 $messageType
 
 $methods
 
 $name
 
 $model_prefix
 
 $paths
 
 $redirect
 
 $task
 
 $taskMap
 
 $input
 
 $factory
 
 $app
 
- Attributs protégés statiques hérités de BaseController
static $instance
 
static $views
 

Description détaillée

The menu controller for ajax requests

Depuis
3.9.0

Documentation des fonctions membres

◆ fetchAssociations()

fetchAssociations ( )

Method to fetch associations of a menu item

The method assumes that the following http parameters are passed in an Ajax Get request: token: the form token assocId: the id of the menu item whose associations are to be returned excludeLang: the association for this language is to be excluded

Renvoie
null
Depuis
3.9.0

Références $lang, $message, Text\_(), Table\addIncludePath(), Session\checkToken(), elseif, Associations\getAssociations(), Table\getInstance(), JPATH_ADMINISTRATOR, null, et Text\sprintf().


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