jcb-compiler/src/a85451d3-a5c5-446a-90ae-0cf715a16d94/README.md

46 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2023-03-21 22:52:57 +00:00
```
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
2023-10-04 18:28:29 +00:00
# final class Permission (Details)
> namespace: **VDM\Joomla\Componentbuilder\Compiler\Adminview**
2023-03-21 22:52:57 +00:00
```uml
@startuml
2023-10-04 18:28:29 +00:00
class Permission << (F,LightGreen) >> #RoyalBlue {
# HasPermissions $haspermissions
+ __construct(HasPermissions $haspermissions)
+ check(array $view, string $nameSingleCode) : bool
2023-03-21 22:52:57 +00:00
}
2023-10-04 18:28:29 +00:00
note right of Permission::__construct
Constructor.
2023-03-21 22:52:57 +00:00
since: 3.2.0
end note
2023-10-04 18:28:29 +00:00
note right of Permission::check
Check to see if a view has permissions
2023-03-21 22:52:57 +00:00
since: 3.2.0
2023-10-04 18:28:29 +00:00
return: bool
2023-03-21 22:52:57 +00:00
end note
@enduml
```
---
```
██╗ ██████╗██████╗
██║██╔════╝██╔══██╗
██║██║ ██████╔╝
██ ██║██║ ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
╚════╝ ╚═════╝╚═════╝
```
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)