super-powers/src/640b5352-fb09-425f-a26e-cd44eda03f15
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-03-14 2024-03-14 14:31:34 +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

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

abstract class Helper (Details)

namespace: VDM\Joomla\Utilities\Component extends: ****

@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