jcb-packager/src/f68aafc4-beec-4bf0-b528-4e2...
Llewellyn van der Merwe 4fe34f3818
first commit
2023-04-15 16:53:53 +02:00
..
README.md first commit 2023-04-15 16:53:53 +02:00
code.php first commit 2023-04-15 16:53:53 +02:00
code.power first commit 2023-04-15 16:53:53 +02:00
settings.json first commit 2023-04-15 16:53:53 +02:00

README.md

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

class Insert (Details)

namespace: VDM\Joomla\Componentbuilder\Package\Database

@startuml
class Insert  #Gold {
  # Config $config
  # Table $table
  # Model $model
  # \JDatabaseDriver $db
  + __construct(?Config $config = null, ?Table $table = null, ...)
  + value(mixed $value, int $id, ...) : bool
  + item(object $item, ?string $table = null) : bool
  + items(?array $items, string $table = null) : bool
}

note right of Insert::__construct
  Constructor

  since: 3.2.0
  
  arguments:
    ?Config $config = null
    ?Table $table = null
    ?Model $model = null
    ?\JDatabaseDriver $db = null
end note

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

  since: 3.2.0
  return: bool
  
  arguments:
    mixed $value
    int $id
    string $field
    ?string $table = null
end note

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

  since: 3.2.0
  return: bool
end note

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

  since: 3.2.0
  return: bool
end note
 
@enduml

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

Build with Joomla Component Builder