60 lines
1.9 KiB
Markdown
60 lines
1.9 KiB
Markdown
|
```
|
||
|
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
|
||
|
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
|
||
|
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
|
||
|
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
|
||
|
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
|
||
|
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
|
||
|
```
|
||
|
# class Data (Details)
|
||
|
> namespace: **VDM\Joomla\Componentbuilder\Compiler\Templatelayout**
|
||
|
```uml
|
||
|
@startuml
|
||
|
class Data #Gold {
|
||
|
# Config $config
|
||
|
# Registry $registry
|
||
|
# Aliasdata $alias
|
||
|
+ __construct(?Config $config = null, ?Registry $registry = null, ...)
|
||
|
+ set(string $content, string $view, ...) : bool
|
||
|
}
|
||
|
|
||
|
note right of Data::__construct
|
||
|
Constructor
|
||
|
|
||
|
since: 3.2.0
|
||
|
|
||
|
arguments:
|
||
|
?Config $config = null
|
||
|
?Registry $registry = null
|
||
|
?Aliasdata $alias = null
|
||
|
end note
|
||
|
|
||
|
note right of Data::set
|
||
|
Set Template and Layout Data
|
||
|
|
||
|
since: 3.2.0
|
||
|
return: bool
|
||
|
|
||
|
arguments:
|
||
|
string $content
|
||
|
string $view
|
||
|
bool $found = false
|
||
|
array $templates = []
|
||
|
array $layouts = []
|
||
|
end note
|
||
|
|
||
|
@enduml
|
||
|
```
|
||
|
|
||
|
---
|
||
|
```
|
||
|
██╗ ██████╗██████╗
|
||
|
██║██╔════╝██╔══██╗
|
||
|
██║██║ ██████╔╝
|
||
|
██ ██║██║ ██╔══██╗
|
||
|
╚█████╔╝╚██████╗██████╔╝
|
||
|
╚════╝ ╚═════╝╚═════╝
|
||
|
```
|
||
|
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||
|
|