jcb-compiler/src/ac691a05-5630-4002-b166-dedec3fb0fcb/README.md

80 lines
2.4 KiB
Markdown
Raw Normal View History

2023-03-21 22:52:57 +00:00
```
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
```
2023-10-04 18:28:29 +00:00
# final class FieldXML (Details)
> namespace: **VDM\Joomla\Componentbuilder\Compiler\Creator**
2023-03-21 22:52:57 +00:00
```uml
@startuml
2023-10-04 18:28:29 +00:00
class FieldXML << (F,LightGreen) >> #RoyalBlue {
# Config $config
# Language $language
# Field $field
# Groups $groups
# Name $name
# TypeName $typename
# Attributes $attributes
# Xml $xml
# CustomFieldTypeFile $customfieldtypefile
# Counter $counter
+ __construct(Config $config, Language $language, ...)
+ get(string $setType, array $fieldAttributes, ...) : \stdClass
2023-03-21 22:52:57 +00:00
}
2023-10-04 18:28:29 +00:00
note right of FieldXML::__construct
Constructor.
since: 3.2.0
arguments:
2023-10-04 18:28:29 +00:00
Config $config
Language $language
Field $field
Groups $groups
Name $name
TypeName $typename
Attributes $attributes
Xml $xml
CustomFieldTypeFile $customfieldtypefile
Counter $counter
2023-03-21 22:52:57 +00:00
end note
2023-10-04 18:28:29 +00:00
note right of FieldXML::get
Create a field with simpleXMLElement class
2023-03-21 22:52:57 +00:00
since: 3.2.0
2023-10-04 18:28:29 +00:00
return: \stdClass
2023-03-21 22:52:57 +00:00
arguments:
2023-10-04 18:28:29 +00:00
string $setType
array $fieldAttributes
string $name
string $typeName
string $langView
string $nameSingleCode
string $nameListCode
array $placeholders
array|null $optionArray
?array $custom = null
string $taber = ''
2023-03-21 22:52:57 +00:00
end note
@enduml
```
---
```
██╗ ██████╗██████╗
██║██╔════╝██╔══██╗
██║██║ ██████╔╝
██ ██║██║ ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
╚════╝ ╚═════╝╚═════╝
```
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)