Method | Description | |
---|---|---|
__construct ( Phrozn\Site\View $view ) : void | Initialize path builder | |
getView ( ) : Phrozn\Site\View | Get view | |
setView ( Phrozn\Site\View $view ) : Phrozn\Site\View\OutputPath | Set view |
Method | Description | |
---|---|---|
getInputFileExtension ( $includeDot = true ) : string | Get the file extension for the input file | |
getInputFileWithoutExt ( ) : string | Extract input file from view (remove extension) | |
getRelativeFile ( string $base = '', boolean $prepend = true ) : string | Detect relative file path with respect to $base folder |
public __construct ( Phrozn\Site\View $view ) : void | ||
$view | Phrozn\Site\View | |
return | void |
protected getInputFileExtension ( $includeDot = true ) : string | ||
return | string |
protected getInputFileWithoutExt ( ) : string | ||
return | string |
public setView ( Phrozn\Site\View $view ) : Phrozn\Site\View\OutputPath | ||
$view | Phrozn\Site\View | View object |
return | Phrozn\Site\View\OutputPath |