super-powers/src/db87c339-5bb6-4291-a7ef-2c4...
Robot 0f50f40925
update 2024-03-14
2024-03-14 14:31:34 +02:00
..
README.md update 2023-07-04 08:26:01 2023-07-04 08:26:08 +02:00
code.php update 2024-03-14 2024-03-14 14:31:34 +02:00
code.power update 2024-03-14 2024-03-14 14:31:34 +02:00
settings.json update 2023-07-04 08:26:01 2023-07-04 08:26:08 +02:00

README.md

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

abstract class GetHelper (Details)

namespace: VDM\Joomla\Utilities

@startuml
abstract GetHelper  #Orange {
  + {static} var(?string $table = null, mixed $where = null, ...) : mixed
  + {static} vars(?string $table = null, mixed $where = null, ...) : ?array
  + {static} allBetween(string $content, string $start, ...) : ?array
  + {static} between(string $content, string $start, ...) : string
}

note right of GetHelper::var
  Get a Variable

  since: 3.0.9
  return: mixed
  
  arguments:
    ?string $table = null
    mixed $where = null
    string $whereString = 'user'
    string $what = 'id'
    string $operator = '='
    ?string $main = null
end note

note right of GetHelper::vars
  Get array of variables

  since: 3.0.9
  return: ?array
  
  arguments:
    ?string $table = null
    mixed $where = null
    string $whereString = 'user'
    string $what = 'id'
    string $operator = 'IN'
    ?string $main = null
    bool $unique = true
end note

note right of GetHelper::allBetween
  get all strings between two other strings

  since: 3.0.9
  return: ?array
  
  arguments:
    string $content
    string $start
    string $end
end note

note right of GetHelper::between
  get a string between two other strings

  since: 3.0.9
  return: string
  
  arguments:
    string $content
    string $start
    string $end
    string $default = ''
end note
 
@enduml

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

Build with Joomla Component Builder