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

Fonctions membres publiques

 __construct ($config=array(), MVCFactoryInterface $factory=null, $app=null, $input=null)
 
 getModel ($name='User', $prefix='Administrator', $config=array('ignore_request'=> true))
 
 changeBlock ()
 
 activate ()
 
 getQuickiconContent ()
 
- Fonctions membres publiques hérités de AdminController
 __construct ($config=array(), MVCFactoryInterface $factory=null, ?CMSApplication $app=null, ?Input $input=null)
 
 delete ()
 
 publish ()
 
 reorder ()
 
 saveorder ()
 
 checkin ()
 
 saveOrderAjax ()
 
 runTransition ()
 
- 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)
 

Attributs protégés

 $text_prefix = 'COM_USERS_USERS'
 
- Attributs protégés hérités de AdminController
 $option
 
 $text_prefix
 
 $view_list
 
- 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
 

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 AdminController
 postDeleteHook (BaseDatabaseModel $model, $id=null)
 
 getRedirectToListAppend ()
 
- 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 statiques hérités de BaseController
static $instance
 
static $views
 

Description détaillée

Users list controller class.

Depuis
1.6

Documentation des constructeurs et destructeur

◆ __construct()

__construct (   $config = array(),
MVCFactoryInterface  $factory = null,
  $app = null,
  $input = null 
)

Constructor.

Paramètres
array$configAn optional associative array of configuration settings.
MVCFactoryInterface$factoryThe factory.
CMSApplication$appThe CMSApplication for the dispatcher
Input$inputInput
Depuis
1.6
Voir également
BaseController
Exceptions

Références $app, $config, $input, et Symfony\Contracts\Service\__construct().

Documentation des fonctions membres

◆ activate()

activate ( )

Method to activate a record.

Renvoie
void
Depuis
1.6

Références $model, Text\_(), Joomla\Application\checkToken(), et Text\plural().

◆ changeBlock()

changeBlock ( )

Method to change the block status on a record.

Renvoie
void
Depuis
1.6

Références $model, $task, $value, Text\_(), Joomla\Application\checkToken(), elseif, ArrayHelper\getValue(), et Text\plural().

◆ getModel()

getModel (   $name = 'User',
  $prefix = 'Administrator',
  $config = array('ignore_request' => true) 
)

Proxy for getModel.

Paramètres
string$nameThe model name. Optional.
string$prefixThe class prefix. Optional.
array$configConfiguration array for model. Optional.
Renvoie
object The model.
Depuis
1.6

Références $config, $name, et $prefix.

◆ getQuickiconContent()

getQuickiconContent ( )

Method to get the number of active users

Renvoie
void
Depuis
4.0.0

Références $model, $result, et Text\plural().

Documentation des champs

◆ $text_prefix

$text_prefix = 'COM_USERS_USERS'
protected

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