2023-03-21 22:52:57 +00:00
|
|
|
```
|
|
|
|
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
|
|
|
|
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
|
|
|
|
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
|
|
|
|
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
|
|
|
|
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
|
|
|
|
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
|
|
|
|
```
|
2024-03-14 12:29:20 +00:00
|
|
|
# final class History (Details)
|
2023-03-21 22:52:57 +00:00
|
|
|
> namespace: **VDM\Joomla\Componentbuilder\Compiler\JoomlaThree**
|
|
|
|
```uml
|
|
|
|
@startuml
|
2024-03-14 12:29:20 +00:00
|
|
|
class History << (F,LightGreen) >> #RoyalBlue {
|
2023-03-21 22:52:57 +00:00
|
|
|
# ?object $tmp
|
|
|
|
# Config $config
|
2024-01-27 07:09:33 +00:00
|
|
|
# $db
|
|
|
|
+ __construct(?Config $config = null)
|
2023-03-21 22:52:57 +00:00
|
|
|
+ get(string $type, int $id) : ?object
|
|
|
|
# set(object $object, int $action) : bool
|
|
|
|
}
|
|
|
|
|
|
|
|
note right of History::__construct
|
|
|
|
Constructor
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
end note
|
|
|
|
|
|
|
|
note right of History::get
|
|
|
|
Get Item History object
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: ?object
|
|
|
|
end note
|
|
|
|
|
|
|
|
note right of History::set
|
|
|
|
Set Item History Watch
|
|
|
|
0 = remove watch
|
|
|
|
1 = add watch
|
|
|
|
|
|
|
|
since: 3.2.0
|
|
|
|
return: bool
|
|
|
|
end note
|
|
|
|
|
|
|
|
@enduml
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
```
|
|
|
|
██╗ ██████╗██████╗
|
|
|
|
██║██╔════╝██╔══██╗
|
|
|
|
██║██║ ██████╔╝
|
|
|
|
██ ██║██║ ██╔══██╗
|
|
|
|
╚█████╔╝╚██████╗██████╔╝
|
|
|
|
╚════╝ ╚═════╝╚═════╝
|
|
|
|
```
|
|
|
|
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
|
|
|
|