2024-01-27 07:09:33 +00:00
|
|
|
```
|
|
|
|
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
|
|
|
|
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
|
|
|
|
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
|
|
|
|
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
|
|
|
|
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
|
|
|
|
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
|
|
|
|
```
|
2024-03-14 12:29:20 +00:00
|
|
|
# final class InstallScript (Details)
|
2024-01-27 07:09:33 +00:00
|
|
|
> namespace: **VDM\Joomla\Componentbuilder\Compiler\Extension\JoomlaFour**
|
|
|
|
```uml
|
|
|
|
@startuml
|
2024-03-14 12:29:20 +00:00
|
|
|
class InstallScript << (F,LightGreen) >> #RoyalBlue {
|
2024-01-27 07:09:33 +00:00
|
|
|
# object $extension
|
|
|
|
# array $methods
|
|
|
|
# array $types
|
|
|
|
# array $construct
|
|
|
|
# array $install
|
|
|
|
# array $update
|
|
|
|
# array $uninstall
|
|
|
|
# bool $preflightActive
|
|
|
|
# bool $postflightActive
|
|
|
|
+ get(object $extension) : string
|
2024-03-14 12:29:20 +00:00
|
|
|
# rest() : void
|
2024-01-27 07:09:33 +00:00
|
|
|
# build() : string
|
|
|
|
# head() : string
|
|
|
|
# construct() : string
|
|
|
|
# main(string $name) : string
|
|
|
|
# flight(string $name) : string
|
|
|
|
}
|
|
|
|
|
|
|
|
note right of InstallScript::get
|
|
|
|
get install script
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: string
|
|
|
|
end note
|
|
|
|
|
2024-03-14 12:29:20 +00:00
|
|
|
note right of InstallScript::rest
|
|
|
|
Reset all bucket at the start of each build
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: void
|
|
|
|
end note
|
|
|
|
|
2024-01-27 07:09:33 +00:00
|
|
|
note right of InstallScript::build
|
|
|
|
build the install class
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: string
|
|
|
|
end note
|
|
|
|
|
|
|
|
note right of InstallScript::head
|
|
|
|
get install script head
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: string
|
|
|
|
end note
|
|
|
|
|
|
|
|
note right of InstallScript::construct
|
|
|
|
get constructor
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: string
|
|
|
|
end note
|
|
|
|
|
|
|
|
note right of InstallScript::main
|
|
|
|
build main methods
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: string
|
|
|
|
end note
|
|
|
|
|
|
|
|
note right of InstallScript::flight
|
|
|
|
build flight methods
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: string
|
|
|
|
end note
|
|
|
|
|
|
|
|
@enduml
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
```
|
|
|
|
██╗ ██████╗██████╗
|
|
|
|
██║██╔════╝██╔══██╗
|
|
|
|
██║██║ ██████╔╝
|
|
|
|
██ ██║██║ ██╔══██╗
|
|
|
|
╚█████╔╝╚██████╗██████╔╝
|
|
|
|
╚════╝ ╚═════╝╚═════╝
|
|
|
|
```
|
|
|
|
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
|
|
|
|