super-powers/src/640b5352-fb09-425f-a26e-cd4...
Robot 2125425324
update 2024-04-07 13:20:18
2024-04-07 13:20:46 +02:00
..
README.md update 2024-03-14 2024-03-14 14:31:34 +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 2024-04-07 13:20:18 2024-04-07 13:20:46 +02:00

README.md

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

abstract class Helper (Details)

namespace: VDM\Joomla\Utilities\Component

@startuml
abstract Helper  #Orange {
  + {static} getParams(?string $option = null) : Registry
  + {static} setOption(?string $option) : void
  + {static} getOption(?string $default = 'empty') : ?string
  + {static} getCode(?string $option = null, ?string $default = null) : ?string
  + {static} get(?string $option = null, ?string $default = null) : ?string
  + {static} getNamespace(?string $option = null) : ?string
  + {static} getManifest(?string $option = null) : ?object
  + {static} methodExists(string $method, ?string $option = null) : bool
  + {static} _(string $method, array $arguments = [], ...) : mixed
}

note right of Helper::getParams
  Gets the parameter object for the component

  since: 3.0.11
  return: Registry
end note

note left of Helper::setOption
  Set the component option

  since: 3.2.0
  return: void
end note

note right of Helper::getOption
  Get the component option

  since: 3.0.11
  return: ?string
end note

note left of Helper::getCode
  Gets the component code name

  since: 3.0.11
  return: ?string
end note

note right of Helper::get
  Gets the component abstract helper class

  since: 3.0.11
  return: ?string
end note

note left of Helper::getNamespace
  Gets the component namespace if set

  since: 3.0.11
  return: ?string
end note

note right of Helper::getManifest
  Gets the component abstract helper class

  since: 3.0.11
  return: ?object
end note

note left of Helper::methodExists
  Check if the helper class of this component has a method

  since: 3.0.11
  return: bool
end note

note right of Helper::_
  Check if the helper class of this component has a method, and call it with the arguments

  since: 3.2.0
  return: mixed
  
  arguments:
    string $method
    array $arguments = []
    ?string $option = null
end note
 
@enduml

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

Build with Joomla Component Builder