jcb-compiler/src/cdc9b06d-8333-4fa7-ab4d-b810dd90f95f
2023-04-15 16:49:36 +02:00
..
code.php first commit 2023-03-22 00:52:57 +02:00
code.power Adds the code.power needed for importing, and more. 2023-04-13 17:44:10 +02:00
README.md first commit 2023-03-22 00:52:57 +02:00
settings.json update 2023-04-15 16:49:30 2023-04-15 16:49:36 +02:00

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

class Pathfix (Details)

namespace: VDM\Joomla\Componentbuilder\Compiler\Utilities

@startuml
class Pathfix  #Gold {
  + set(mixed $values, array $targets = []) : void
}

note right of Pathfix::set
  Fix the path to work in the JCB script <-- (main issue here)
Since we need / slash in all paths, for the JCB script even if it is Windows
and since MS works with both forward and back slashes
we just convert all slashes to forward slashes
THIS is just my hack (fix) if you know a better way! speak-up!

  since: 3.2.0
  return: void
end note
 
@enduml

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

Build with Joomla Component Builder