super-powers/src/1198aecf-84c6-45d2-aea8-d531aa4afdfa
2024-04-07 13:20:46 +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
README.md update 2023-10-10 10:16:07 2023-10-10 11:39:09 +02:00
settings.json update 2024-04-07 13:20:18 2024-04-07 13:20:46 +02:00

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

abstract class FormHelper (Details)

namespace: VDM\Joomla\Utilities

@startuml
abstract FormHelper  #Orange {
  + {static} xml(array $attributes, ?array $options = null) : ?\SimpleXMLElement
  + {static} append(\SimpleXMLElement $xml, mixed $node) : void
  + {static} comment(\SimpleXMLElement $xml, string $comment) : void
  + {static} attributes(\SimpleXMLElement $xml, array $attributes = []) : void
  + {static} options(\SimpleXMLElement $xml, array $options = []) : void
  + {static} field(array $attributes, string $default = '', ...) : ?FormField
}

note right of FormHelper::xml
  get the field xml

  since: 3.2.0
  return: ?\SimpleXMLElement
end note

note right of FormHelper::append
  xmlAppend
or a stdClass object containing a comment attribute to be injected
before the XML node and a fieldXML attribute containing a SimpleXMLElement

  since: 3.2.0
  return: void
end note

note right of FormHelper::comment
  xmlComment

  since: 3.2.0
  return: void
end note

note right of FormHelper::attributes
  xmlAddAttributes

  since: 3.2.0
  return: void
end note

note right of FormHelper::options
  xmlAddOptions

  since: 3.2.0
  return: void
end note

note right of FormHelper::field
  get the field object

  since: 3.2.0
  return: ?FormField
  
  arguments:
    array $attributes
    string $default = ''
    ?array $options = null
end note
 
@enduml

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

Build with Joomla Component Builder