search/src/02efe40a-7792-4c82-9444-7d0377243483
2023-10-24 10:36:50 +02:00
..
code.php update 2023-05-31 16:47:30 2023-05-31 16:47:40 +02:00
code.power first commit 2023-04-15 17:01:55 +02:00
README.md update 2023-10-24 10:36:32 2023-10-24 10:36:50 +02:00
settings.json update 2023-04-21 23:01:39 2023-04-21 23:01:39 +02:00

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

class Insert (Details)

namespace: VDM\Joomla\Componentbuilder\Search\Model extends: Model

@startuml
class Insert  #Gold {
  # Config $config
  + __construct(?Config $config = null, ?Table $table = null)
  + value(mixed $value, string $field, ...) : mixed
  # validateBefore(mixed $value, ?string $field = null, ...) : bool
  # validateAfter(mixed $value, ?string $field = null, ...) : bool
  # getTable() : string
}

note right of Insert::__construct
  Constructor

  since: 3.2.0
end note

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

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

note right of Insert::validateBefore
  Validate before the value is modelled (basic, override in child class)

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

note right of Insert::validateAfter
  Validate after the value is modelled (basic, override in child class)

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

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

  since: 3.2.0
  return: string
end note
 
@enduml

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

Build with Joomla Component Builder