Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (UserFactoryInterface $userFactory) | |
create ($category, $params, $attribs=array()) | |
edit ($contact, $params, $attribs=array(), $legacy=false) | |
Attributs privés | |
$userFactory | |
__construct | ( | UserFactoryInterface | $userFactory | ) |
Service constructor
UserFactoryInterface | $userFactory | The userFactory |
Références Joomla\CMS\Application\$userFactory.
create | ( | $category, | |
$params, | |||
$attribs = array() |
|||
) |
Method to generate a link to the create item page for the given category
object | $category | The category information |
Registry | $params | The item parameters |
array | $attribs | Optional attributes for the link |
Références $attribs, $button, $category, $params, $text, $uri, $url, Text\_(), Route\_(), HTMLHelper\_(), et Uri\getInstance().
edit | ( | $contact, | |
$params, | |||
$attribs = array() , |
|||
$legacy = false |
|||
) |
Display an edit icon for the contact.
This icon will not display in a popup window, nor if the contact is trashed. Edit access checks must be performed in the calling code.
object | $contact | The contact information |
Registry | $params | The item parameters |
array | $attribs | Optional attributes for the link |
boolean | $legacy | True to use legacy images, false to use icomoon based graphic |
Références $aria_described, $attribs, $date, $icon, $nowDate, $output, $params, $text, $tooltip, $uri, $url, $user, Text\_(), Route\_(), HTMLHelper\_(), RouteHelper\getContactRoute(), Factory\getDate(), Uri\getInstance(), Factory\getUser(), null, LayoutHelper\render(), et Text\sprintf().
|
private |