jcb-compiler/src/0d08c583-04d5-454e-b756-48ca05e1651a
2023-10-04 20:28:29 +02:00
..
code.php update 2023-10-04 18:35:53 2023-10-04 20:28:29 +02:00
code.power update 2023-10-04 18:35:53 2023-10-04 20:28:29 +02:00
README.md update 2023-10-04 18:35:53 2023-10-04 20:28:29 +02:00
settings.json update 2023-04-15 16:49:30 2023-04-15 16:49:36 +02:00

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

class Readme (Details)

namespace: VDM\Joomla\Componentbuilder\Compiler\Power\Repos

@startuml
class Readme  #Gold {
  # Power $power
  # Plantuml $plantuml
  + __construct(?Power $power = null, ?Plantuml $plantuml = null)
  + get(array $powers) : string
  - readmeBuilder($powers) : string
  - readmeModel(array $classes) : string
  - generateIndex(array $classes) : string
  - defineTypeOrder() : array
  - sortClasses(array $classes, array $typeOrder) : void
  - compareNamespace(array $a, array $b) : int
  - compareType(array $a, array $b, ...) : int
  - compareName(array $a, array $b) : int
  - indexLinkPower(array $power) : string
  - linkPowerRepo(array $power) : string
  - linkPowerCode(array $power) : string
  - linkPowerSettings(array $power) : string
  - linkPowerSPK(array $power) : string
}

note right of Readme::__construct
  Constructor.

  since: 3.2.0
end note

note left of Readme::get
  Get Super Power Readme

  since: 3.2.0
  return: string
end note

note right of Readme::readmeBuilder
  The readme builder

  since: 3.2.0
  return: string
end note

note left of Readme::readmeModel
  Sort and model the readme classes

  since: 3.2.0
  return: string
end note

note right of Readme::generateIndex
  Generate the index string for classes

  return: string
end note

note left of Readme::defineTypeOrder
  Define the order of types for sorting purposes

  since: 3.2.0
  return: array
end note

note right of Readme::sortClasses
  Sort the flattened array using a single sorting function

  since: 3.2.0
  return: void
end note

note left of Readme::compareNamespace
  Compare the namespace of two classes

  since: 3.2.0
  return: int
end note

note right of Readme::compareType
  Compare the type of two classes

  since: 3.2.0
  return: int
  
  arguments:
    array $a
    array $b
    array $typeOrder
end note

note left of Readme::compareName
  Compare the name of two classes

  since: 3.2.0
  return: int
end note

note right of Readme::indexLinkPower
  Build the Link to the power in this repository

  since: 3.2.0
  return: string
end note

note left of Readme::linkPowerRepo
  Build the Link to the power in this repository

  since: 3.2.0
  return: string
end note

note right of Readme::linkPowerCode
  Build the Link to the power settings in this repository

  since: 3.2.0
  return: string
end note

note left of Readme::linkPowerSettings
  Build the Link to the power settings in this repository

  since: 3.2.0
  return: string
end note

note right of Readme::linkPowerSPK
  Get the SuperPowerKey (SPK)

  since: 3.2.0
  return: string
end note
 
@enduml

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

Build with Joomla Component Builder