42 lines
1.7 KiB
Markdown
42 lines
1.7 KiB
Markdown
```
|
|
██████╗ ██████╗ ██╗ ██╗███████╗██████╗
|
|
██╔══██╗██╔═══██╗██║ ██║██╔════╝██╔══██╗
|
|
██████╔╝██║ ██║██║ █╗ ██║█████╗ ██████╔╝
|
|
██╔═══╝ ██║ ██║██║███╗██║██╔══╝ ██╔══██╗
|
|
██║ ╚██████╔╝╚███╔███╔╝███████╗██║ ██║
|
|
╚═╝ ╚═════╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝
|
|
```
|
|
# class Pathfix (Details)
|
|
> namespace: **VDM\Joomla\Componentbuilder\Compiler\Utilities**
|
|
```uml
|
|
@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](https://git.vdm.dev/joomla/Component-Builder)
|
|
|