jcb-compiler/src/44d039b9-d293-481b-b560-23a6e7a63962/README.md

78 lines
2.3 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 FieldString (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 FieldString << (F,LightGreen) >> #RoyalBlue {
# Config $config
# Language $language
# Field $field
# Groups $groups
# Name $name
# TypeName $typename
# Attributes $attributes
# CustomFieldTypeFile $customfieldtypefile
# Counter $counter
+ __construct(Config $config, Language $language, ...)
+ get(string $setType, array $fieldAttributes, ...) : string
2023-03-21 22:52:57 +00:00
}
2023-10-04 18:28:29 +00:00
note right of FieldString::__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
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 FieldString::get
Create a field using string manipulation
2023-03-21 22:52:57 +00:00
since: 3.2.0
2023-10-04 18:28:29 +00:00
return: string
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)