68 lines
2.0 KiB
Markdown
68 lines
2.0 KiB
Markdown
```
|
|
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
|
|
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
|
|
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
|
|
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
|
|
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
|
|
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
|
|
```
|
|
# class Data (Details)
|
|
> namespace: **VDM\Joomla\Componentbuilder\Compiler\Field**
|
|
```uml
|
|
@startuml
|
|
class Data #Gold {
|
|
# array $fields
|
|
# Config $config
|
|
# Event $event
|
|
# History $history
|
|
# Placeholder $placeholder
|
|
# Customcode $customcode
|
|
# FieldCustomcode $fieldcustomcode
|
|
# Rule $rule
|
|
# $db
|
|
+ __construct(Config $config, Event $event, ...)
|
|
+ get(int $id, ?string $singleViewName = null, ...) : ?object
|
|
}
|
|
|
|
note right of Data::__construct
|
|
Constructor.
|
|
|
|
since: 3.2.0
|
|
|
|
arguments:
|
|
Config $config
|
|
Event $event
|
|
History $history
|
|
Placeholder $placeholder
|
|
Customcode $customcode
|
|
FieldCustomcode $fieldcustomcode
|
|
Rule $rule
|
|
end note
|
|
|
|
note right of Data::get
|
|
Get all Field Data
|
|
|
|
since: 3.2.0
|
|
return: ?object
|
|
|
|
arguments:
|
|
int $id
|
|
?string $singleViewName = null
|
|
?string $listViewName = null
|
|
end note
|
|
|
|
@enduml
|
|
```
|
|
|
|
---
|
|
```
|
|
██╗ ██████╗██████╗
|
|
██║██╔════╝██╔══██╗
|
|
██║██║ ██████╔╝
|
|
██ ██║██║ ██╔══██╗
|
|
╚█████╔╝╚██████╗██████╔╝
|
|
╚════╝ ╚═════╝╚═════╝
|
|
```
|
|
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
|
|