Метод | Описание | |
---|---|---|
checkPermission ( mixed $subject, string $permission ) : boolean | Checks a Sulu specific permission based on the subject, a permission type and a locale. | |
hasPermission ( $subject, $permission ) : boolean |
public hasPermission ( $subject, $permission ) : boolean | ||
$subject | ||
$permission | ||
Результат | boolean |