Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier administrator/components/com_users/tmpl/methods/list.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $model = $this->getModel()
 
 $canAddEdit = MfaHelper::canAddEditMethod($this->user)
 
 $canDelete = MfaHelper::canDeleteMethod($this->user)
 
endifif ($method['canDisable'] && $canDelete) ('index.php?option=com_users &task=method.delete &id=' .(int) $record->id .($this->returnURL ? '&returnurl=' . $this->escape(urlencode($this->returnURL)) :'') . '&user_id=' . $this->user->id . '&' . Factory::getApplication() ->getFormToken() . '=1')?>" title
 
 endif
 
 endforeach
 

Documentation des variables

◆ $canAddEdit

$canAddEdit = MfaHelper::canAddEditMethod($this->user)

◆ $canDelete

$canDelete = MfaHelper::canDeleteMethod($this->user)

◆ $model

$model = $this->getModel()

◆ ($method['canDisable'] && $canDelete)

endifif ( $method[ 'canDisable'] &&$canDelete)( 'index.php?option=com_users &task=method.delete &id=' .(int) $record->id .( $this->returnURL ? '&returnurl=' . $this->escape(urlencode( $this->returnURL)) :'') . '&user_id=' . $this->user->id . '&' . Factory::getApplication() ->getFormToken() . '=1')?>" title
Valeur initiale :
="<?php echo Text::_('JACTION_DELETE') ?> <?php echo $this->escape($record->title); ?>">
<span class="icon icon-trash" aria-hidden="true"></span>
<span class="visually-hidden"><?php echo Text::_('JACTION_DELETE')

◆ endforeach

endforeach

◆ endif

if ($canAddEdit && (empty($method['active']) || $method['allowMultiple'])) ('index.php?option=com_users&task=method.add&method=' . $this->escape(urlencode($method['name'])) . ($this->returnURL ? '&returnurl=' . $this->escape(urlencode($this->returnURL)) : '') . '&user_id=' . $this->user->id)?>" class endif
Valeur initiale :
="com-users-methods-list-method-addnew btn btn-outline-primary btn-sm"
>
<span class="icon-plus-2" aria-hidden="true"></span>
<?php echo Text::sprintf('COM_USERS_MFA_ADD_AUTHENTICATOR_OF_TYPE', $method['display'])
$method
Definition: administrator/components/com_users/tmpl/method/edit.php:29