super-powers/src/c548640c-a461-4424-9ac5-8dfb5ed06d8d
2024-06-21 14:01:19 +02:00
..
code.php Update 2024-06-21 14:01:13 2024-06-21 14:01:19 +02:00
code.power Update 2024-06-21 14:01:13 2024-06-21 14:01:19 +02:00
README.md Update 2024-06-21 14:01:13 2024-06-21 14:01:19 +02:00
settings.json Update 2024-06-21 14:01:13 2024-06-21 14:01:19 +02:00

██████╗  ██████╗ ██╗    ██╗███████╗██████╗
██╔══██╗██╔═══██╗██║    ██║██╔════╝██╔══██╗
██████╔╝██║   ██║██║ █╗ ██║█████╗  ██████╔╝
██╔═══╝ ██║   ██║██║███╗██║██╔══╝  ██╔══██╗
██║     ╚██████╔╝╚███╔███╔╝███████╗██║  ██║
╚═╝      ╚═════╝  ╚══╝╚══╝ ╚══════╝╚═╝  ╚═╝

interface LoadInterface (Details)

namespace: VDM\Joomla\Interfaces\Data extends: ****

@startuml
interface LoadInterface  #Lavender {
  + table(?string $table) : self
  + value(array $keys, string $field) : mixed
  + item(array $keys) : ?object
  + items(array $keys) : ?array
  + getTable() : string
}

note right of LoadInterface::table
  Set the current active table

  since: 3.2.2
  return: self
end note

note right of LoadInterface::value
  Get a value from a given table
Example: $this->value(
[
'guid' => 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
], 'value_key'
);

  since: 2.0.1
  return: mixed
end note

note right of LoadInterface::item
  Get values from a given table
Example: $this->item(
[
'guid' => 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'
]
);

  since: 2.0.1
  return: ?object
end note

note right of LoadInterface::items
  Get values from a given table
Example: $this->items(
[
'guid' => [
'operator' => 'IN',
'value' => [''xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'', ''xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'']
]
]
);
Example: $this->items($keys);

  since: 2.0.1
  return: ?array
end note

note right of LoadInterface::getTable
  Get the current active table

  since: 3.2.2
  return: string
end note
 
@enduml

     ██╗ ██████╗██████╗
     ██║██╔════╝██╔══██╗
     ██║██║     ██████╔╝
██   ██║██║     ██╔══██╗
╚█████╔╝╚██████╗██████╔╝
 ╚════╝  ╚═════╝╚═════╝

Build with Joomla Component Builder