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

Fonctions membres publiques

 batch ($model=null)
 
 login ()
 
 logout ()
 
 menulogout ()
 
 remind ()
 
 resend ()
 
- Fonctions membres publiques hérités de UsersController
 display ($cachable=false, $urlparams=false)
 
 display ($cachable=false, $urlparams=false)
 

Fonctions membres protégées

 allowEdit ($data=array(), $key='id')
 
 postSaveHook (JModelLegacy $model, $validData=array())
 
- Fonctions membres protégées hérités de UsersController
 canView ($view)
 

Attributs protégés

 $text_prefix = 'COM_USERS_USER'
 

Description détaillée

User controller class.

Depuis
1.6

Registration controller class for Users.

Depuis
1.6

Documentation des fonctions membres

◆ allowEdit()

allowEdit (   $data = array(),
  $key = 'id' 
)
protected

Overrides JControllerForm::allowEdit

Checks that non-Super Admins are not editing Super Admins.

Paramètres
array$dataAn array of input data.
string$keyThe name of the key for the primary key.
Renvoie
boolean True if allowed, false otherwise.
Depuis
1.6

Références $data, $key, et User\authorise().

◆ batch()

batch (   $model = null)

Method to run batch operations.

Paramètres
object$modelThe model.
Renvoie
boolean True on success, false on failure
Depuis
2.5

◆ login()

login ( )

Method to log in a user.

Renvoie
void
Depuis
1.6

Références $app, $data, $db, $input, $lang, $language, $options, et $query.

◆ logout()

logout ( )

Method to log out a user.

Renvoie
void
Depuis
1.6

Références $app, $db, $input, $lang, $language, $options, $query, $return, et null.

◆ menulogout()

menulogout ( )

Method to logout directly and redirect to page.

Renvoie
void
Depuis
3.5

Références $active, $app, $db, $item, $itemid, $lang, $language, $query, et $url.

◆ postSaveHook()

postSaveHook ( JModelLegacy  $model,
  $validData = array() 
)
protected

Function that allows child controller access to model data after the data has been saved.

Paramètres
JModelLegacy$modelThe data model object.
array$validDataThe validated data.
Renvoie
void
Depuis
3.1

◆ remind()

remind ( )

Method to request a username reminder.

Renvoie
boolean
Depuis
1.6

Références $app, $data, $itemid, $message, $return, $route, UsersHelperRoute\getLoginRoute(), UsersHelperRoute\getRemindRoute(), et null.

◆ resend()

resend ( )

Method to resend a user.

Renvoie
void
Depuis
1.6

Documentation des champs

◆ $text_prefix

$text_prefix = 'COM_USERS_USER'
protected

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