Ferreteria/v0.5/@cls/cKiosk admin
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
|
class
menu\cKiosk_admin |
- namespace: menu
- purpose: a cKiosk that has to do its own figuring to separate out the path data from the full URL
Methods
| access | function name | code (if short) | purpose |
|---|---|---|---|
| public | __construct(string $wp) | { $this->SetPath($wp); } | |
| protected | SetPath(string $wp) | { $this->wp = ltrim($wp,'/'); } | make it a relative path |
| public | GetAbsolutePath($doEndSlash) : string | ||
| public | GetRelativePath(bool $doEndSlash) : string |
History
- 2019-06-16 making SetPath() protected, because we seem to be getting in trouble by stacking and re-stacking paths on the same object; need to prevent that.