51 lines
1.7 KiB
Markdown
51 lines
1.7 KiB
Markdown
|
```
|
||
|
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
|
||
|
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
|
||
|
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
|
||
|
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
|
||
|
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
|
||
|
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
|
||
|
```
|
||
|
# class DatabaseName (Details)
|
||
|
> namespace: **VDM\Joomla\Componentbuilder\Compiler\Field**
|
||
|
```uml
|
||
|
@startuml
|
||
|
class DatabaseName #Gold {
|
||
|
# Registry $registry
|
||
|
+ __construct(?Registry $registry = null)
|
||
|
+ get(string $nameListCode, int $fieldId, ...) : ?string
|
||
|
}
|
||
|
|
||
|
note right of DatabaseName::__construct
|
||
|
Constructor
|
||
|
|
||
|
since: 3.2.0
|
||
|
end note
|
||
|
|
||
|
note right of DatabaseName::get
|
||
|
get the field database name and AS prefix
|
||
|
|
||
|
since: 3.2.0
|
||
|
return: ?string
|
||
|
|
||
|
arguments:
|
||
|
string $nameListCode
|
||
|
int $fieldId
|
||
|
string $targetArea = 'builder.list'
|
||
|
end note
|
||
|
|
||
|
@enduml
|
||
|
```
|
||
|
|
||
|
---
|
||
|
```
|
||
|
██╗ ██████╗██████╗
|
||
|
██║██╔════╝██╔══██╗
|
||
|
██║██║ ██████╔╝
|
||
|
██ ██║██║ ██╔══██╗
|
||
|
╚█████╔╝╚██████╗██████╔╝
|
||
|
╚════╝ ╚═════╝╚═════╝
|
||
|
```
|
||
|
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||
|
|