super-powers/src/05744dd3-4030-4cf8-8dda-a93ab809b473
2024-06-21 14:01:19 +02:00
..
code.php Update 2024-06-21 14:01:13 2024-06-21 14:01:19 +02:00
code.power Update 2024-06-21 14:01:13 2024-06-21 14:01:19 +02:00
README.md Update 2024-06-21 14:01:13 2024-06-21 14:01:19 +02:00
settings.json Update 2024-06-21 14:01:13 2024-06-21 14:01:19 +02:00

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

interface ItemInterface (Details)

namespace: VDM\Joomla\Interfaces\Data extends: ****

@startuml
interface ItemInterface  #Lavender {
  + table(string $table) : self
  + get(string $value, string $key = 'guid') : ?object
  + value(string $value, string $key = 'guid', ...) : mixed
  + set(object $item, string $key = 'guid', ...) : bool
  + delete(string $value, string $key = 'guid') : bool
  + getTable() : string
}

note right of ItemInterface::table
  Set the current active table

  since: 3.2.2
  return: self
end note

note right of ItemInterface::get
  Get an item

  since: 3.2.2
  return: ?object
end note

note right of ItemInterface::value
  Get the value

  since: 3.2.2
  return: mixed
  
  arguments:
    string $value
    string $key = 'guid'
    string $get = 'id'
end note

note right of ItemInterface::set
  Set an item

  since: 3.2.2
  return: bool
  
  arguments:
    object $item
    string $key = 'guid'
    ?string $action = null
end note

note right of ItemInterface::delete
  Delete an item

  since: 3.2.2
  return: bool
end note

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

  since: 3.2.2
  return: string
end note
 
@enduml

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

Build with Joomla Component Builder