Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Structures de données | |
interface | CurrentUserInterface |
class | User |
class | UserFactory |
interface | UserFactoryInterface |
class | UserHelper |
Fonctions | |
getCurrentUser () | |
setCurrentUser (User $currentUser) | |
Variables | |
trait | CurrentUserTrait |
Joomla! Content Management System
Joomla! Content Management System
Joomla! Content Management System
Joomla! Content Management System
Joomla! Content Management System
|
protected |
Returns the current user, if none is set the identity of the global app is returned. This will change in 5.0 and an empty user will be returned.
Références Factory\getApplication(), et Factory\getUser().
Référencé par HtmlView\addToolbar(), FormModel\checkin(), FormModel\checkout(), HtmlView\display(), HtmlView\getTagsTitle(), HtmlView\prepareDocument(), HtmlView\prepareToolbar(), et HtmlView\toolbar().
Joomla\CMS\User\setCurrentUser | ( | User | $currentUser | ) |
trait CurrentUserTrait |
Trait for classes which require a user to work with.