4
0
Fork 0
api-powers/src/91b37bd7-b314-48be-91cf-434...
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 Upsert (Details)

namespace: TrueChristianChurch\Joomla\GetBible\Model extends: Model

@startuml
class Upsert << (F,LightGreen) >> #RoyalBlue {
  # Config $config
  + __construct(Config $config, Table $table)
  + value(mixed $value, string $field, ...) : mixed
  # validateBefore(mixed $value, ?string $field = null, ...) : bool
  # validateAfter(mixed $value, ?string $field = null, ...) : bool
  # getTable() : string
  + modelDistributionHistory(mixed $value) : mixed
}

note right of Upsert::__construct
  Constructor

  since: 2.0.1
end note

note right of Upsert::value
  Model the value
Example: $this->value(value, 'field_key', 'table_name');

  since: 2.0.1
  return: mixed
  
  arguments:
    mixed $value
    string $field
    ?string $table = null
end note

note right of Upsert::validateBefore
  Validate before the value is modelled

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

note right of Upsert::validateAfter
  Validate after the value is modelled

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

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

  since: 2.0.1
  return: string
end note

note right of Upsert::modelDistributionHistory
  Model Distribution History

  since: 2.0.1
  return: mixed
end note
 
@enduml

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

Build with Joomla Component Builder