super-powers/src/06f8eada-d59b-441c-b287-0ae...
Robot 2125425324
update 2024-04-07 13:20:18
2024-04-07 13:20:46 +02:00
..
README.md update 2023-10-04 18:35:53 2023-10-04 20:23:30 +02:00
code.php update 2023-10-04 18:35:53 2023-10-04 20:23:30 +02:00
code.power update 2023-10-04 18:35:53 2023-10-04 20:23:30 +02:00
settings.json update 2024-04-07 13:20:18 2024-04-07 13:20:46 +02:00

README.md

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

final class Load (Details)

namespace: VDM\Joomla\Database extends: Database

@startuml
class Load << (F,LightGreen) >> #RoyalBlue {
  + rows(array $select, array $tables, ...) : ?array
  + items(array $select, array $tables, ...) : ?array
  + row(array $select, array $tables, ...) : ?array
  + item(array $select, array $tables, ...) : ?object
  + max(string $field, array $tables, ...) : ?int
  + count(array $tables, array $filter) : ?int
  + value(array $select, array $tables, ...) : mixed
  # many(array $select, array $tables, ...) : bool
  # one(array $select, array $tables, ...) : bool
  # query(array $select, array $tables, ...) : ?object
}

note right of Load::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 left of Load::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 Load::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 left of Load::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 Load::max
  Get the max value based on a filtered result from a given table

  since: 3.2.0
  return: ?int
  
  arguments:
    string $field
    array $tables
    array $filter
end note

note left of Load::count
  Count the number of items based on filter result from a given table

  since: 3.2.0
  return: ?int
end note

note right of Load::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

note left of Load::many
  Load many

  since: 3.2.0
  return: bool
  
  arguments:
    array $select
    array $tables
    ?array $where = null
    ?array $order = null
    ?int $limit = null
end note

note right of Load::one
  Load one

  since: 3.2.0
  return: bool
  
  arguments:
    array $select
    array $tables
    ?array $where = null
    ?array $order = null
end note

note left of Load::query
  Get the query object

  since: 3.2.0
  return: ?object
  
  arguments:
    array $select
    array $tables
    ?array $where = null
    ?array $order = null
    ?int $limit = null
end note
 
@enduml

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

Build with Joomla Component Builder