4
0
Fork 0
api-powers/src/a07d90f6-6ff2-40a1-99c1-0f2...
Robot cfe9fa7ba7
update 2024-04-06 15:05:35
2024-04-06 15:05:35 +02:00
..
README.md update 2024-04-06 15:05:35 2024-04-06 15:05:35 +02:00
code.php update 2024-04-06 15:05:35 2024-04-06 15:05:35 +02:00
code.power update 2023-09-26 08:24:03 2023-09-26 08:24:03 +02:00
settings.json update 2024-04-06 15:05:35 2024-04-06 15:05:35 +02:00

README.md

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

final class Insert (Details)

namespace: TrueChristianChurch\Joomla\GetBible\Database

@startuml
class Insert << (F,LightGreen) >> #RoyalBlue {
  # Model $model
  # Database $database
  + __construct(Model $model, Database $database)
  + value(mixed $value, string $field, ...) : bool
  + row(array $item, string $table) : bool
  + rows(?array $items, string $table) : bool
  + item(object $item, string $table) : bool
  + items(?array $items, string $table) : bool
}

note right of Insert::__construct
  Constructor

  since: 2.0.1
end note

note right of Insert::value
  Insert a value to a given table
Example: $this->value(Value, 'value_key', 'table_name');

  since: 2.0.1
  return: bool
  
  arguments:
    mixed $value
    string $field
    string $table
end note

note right of Insert::row
  Insert single row with multiple values to a given table
Example: $this->item(Array, 'table_name');

  since: 2.0.1
  return: bool
end note

note right of Insert::rows
  Insert multiple rows to a given table
Example: $this->items(Array, 'table_name');

  since: 2.0.1
  return: bool
end note

note right of Insert::item
  Insert single item with multiple values to a given table
Example: $this->item(Object, 'table_name');

  since: 2.0.1
  return: bool
end note

note right of Insert::items
  Insert multiple items to a given table
Example: $this->items(Array, 'table_name');

  since: 2.0.1
  return: bool
end note
 
@enduml

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

Build with Joomla Component Builder