102 lines
2.7 KiB
Markdown
102 lines
2.7 KiB
Markdown
```
|
|
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
|
|
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
|
|
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
|
|
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
|
|
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
|
|
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
|
|
```
|
|
# interface LoadInterface (Details)
|
|
> namespace: **VDM\Joomla\Interfaces**
|
|
```uml
|
|
@startuml
|
|
interface LoadInterface #Lavender {
|
|
+ rows(array $select, array $tables, ...) : ?array
|
|
+ items(array $select, array $tables, ...) : ?array
|
|
+ row(array $select, array $tables, ...) : ?array
|
|
+ item(array $select, array $tables, ...) : ?object
|
|
+ value(array $select, array $tables, ...) : mixed
|
|
}
|
|
|
|
note right of LoadInterface::rows
|
|
Load data rows as an array of associated arrays
|
|
|
|
since: 3.2.0
|
|
return: ?array
|
|
|
|
arguments:
|
|
array $select
|
|
array $tables
|
|
?array $where = null
|
|
?array $order = null
|
|
?int $limit = null
|
|
end note
|
|
|
|
note right of LoadInterface::items
|
|
Load data rows as an array of objects
|
|
|
|
since: 3.2.0
|
|
return: ?array
|
|
|
|
arguments:
|
|
array $select
|
|
array $tables
|
|
?array $where = null
|
|
?array $order = null
|
|
?int $limit = null
|
|
end note
|
|
|
|
note right of LoadInterface::row
|
|
Load data row as an associated array
|
|
|
|
since: 3.2.0
|
|
return: ?array
|
|
|
|
arguments:
|
|
array $select
|
|
array $tables
|
|
?array $where = null
|
|
?array $order = null
|
|
end note
|
|
|
|
note right of LoadInterface::item
|
|
Load data row as an object
|
|
|
|
since: 3.2.0
|
|
return: ?object
|
|
|
|
arguments:
|
|
array $select
|
|
array $tables
|
|
?array $where = null
|
|
?array $order = null
|
|
end note
|
|
|
|
note right of LoadInterface::value
|
|
Load one value from a row
|
|
|
|
since: 3.2.0
|
|
return: mixed
|
|
|
|
arguments:
|
|
array $select
|
|
array $tables
|
|
?array $where = null
|
|
?array $order = null
|
|
end note
|
|
|
|
@enduml
|
|
```
|
|
|
|
---
|
|
```
|
|
██╗ ██████╗██████╗
|
|
██║██╔════╝██╔══██╗
|
|
██║██║ ██████╔╝
|
|
██ ██║██║ ██╔══██╗
|
|
╚█████╔╝╚██████╗██████╔╝
|
|
╚════╝ ╚═════╝╚═════╝
|
|
```
|
|
> Build with [Joomla Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
|
|