2023-04-15 15:01:55 +00:00
|
|
|
```
|
|
|
|
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
|
|
|
|
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
|
|
|
|
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
|
|
|
|
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
|
|
|
|
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
|
|
|
|
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
|
|
|
|
```
|
|
|
|
# class Config (Details)
|
|
|
|
> namespace: **VDM\Joomla\Componentbuilder\Search**
|
|
|
|
```uml
|
|
|
|
@startuml
|
|
|
|
class Config #Gold {
|
2023-05-31 14:47:40 +00:00
|
|
|
# Input $input
|
|
|
|
+ __construct(?Input $input = null)
|
2023-04-15 15:01:55 +00:00
|
|
|
# getTypesearch() : ?int
|
|
|
|
# getSearchvalue() : ?string
|
|
|
|
# getReplacevalue() : string
|
|
|
|
# getMatchcase() : int
|
|
|
|
# getWholeword() : int
|
|
|
|
# getRegexsearch() : int
|
|
|
|
# getComponentid() : int
|
|
|
|
# getTablename() : ?string
|
|
|
|
# getFieldname() : ?string
|
|
|
|
# getItemid() : int
|
|
|
|
# getFieldcounter() : int
|
|
|
|
# getLinecounter() : int
|
|
|
|
# getMarkerstart() : string
|
|
|
|
# getMarkerend() : string
|
|
|
|
}
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note right of Config::__construct
|
|
|
|
Constructor
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
end note
|
|
|
|
|
|
|
|
note left of Config::getTypesearch
|
2023-04-15 15:01:55 +00:00
|
|
|
get type search being preformed
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: ?int
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note right of Config::getSearchvalue
|
2023-04-15 15:01:55 +00:00
|
|
|
get posted search value
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: ?string
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note left of Config::getReplacevalue
|
2023-04-15 15:01:55 +00:00
|
|
|
get posted replace value
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: string
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note right of Config::getMatchcase
|
2023-04-15 15:01:55 +00:00
|
|
|
get posted search match case
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: int
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note left of Config::getWholeword
|
2023-04-15 15:01:55 +00:00
|
|
|
get posted search whole word
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: int
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note right of Config::getRegexsearch
|
2023-04-15 15:01:55 +00:00
|
|
|
get posted search regex
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: int
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note left of Config::getComponentid
|
2023-04-15 15:01:55 +00:00
|
|
|
get posted component
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: int
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note right of Config::getTablename
|
2023-04-15 15:01:55 +00:00
|
|
|
get posted area/table
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: ?string
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note left of Config::getFieldname
|
2023-04-15 15:01:55 +00:00
|
|
|
get posted field
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: ?string
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note right of Config::getItemid
|
2023-04-15 15:01:55 +00:00
|
|
|
get posted item id
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: int
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note left of Config::getFieldcounter
|
2023-04-15 15:01:55 +00:00
|
|
|
get field counter
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: int
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note right of Config::getLinecounter
|
2023-04-15 15:01:55 +00:00
|
|
|
get line counter
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: int
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note left of Config::getMarkerstart
|
2023-04-15 15:01:55 +00:00
|
|
|
get the start marker
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: string
|
|
|
|
end note
|
|
|
|
|
2023-05-31 14:47:40 +00:00
|
|
|
note right of Config::getMarkerend
|
2023-04-15 15:01:55 +00:00
|
|
|
get the end marker
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: string
|
|
|
|
end note
|
|
|
|
|
|
|
|
@enduml
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
```
|
|
|
|
██╗ ██████╗██████╗
|
|
|
|
██║██╔════╝██╔══██╗
|
|
|
|
██║██║ ██████╔╝
|
|
|
|
██ ██║██║ ██╔══██╗
|
|
|
|
╚█████╔╝╚██████╗██████╔╝
|
|
|
|
╚════╝ ╚═════╝╚═════╝
|
|
|
|
```
|
|
|
|
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
|
|
|
|