Ferreteria/v0.5/@cls/cKiosk admin: Difference between revisions
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
(Created page with "{{fmt/title|class <code>menu\cKiosk_admin</code>}} * '''namespace''': {{l/same|menu}} * '''purpose''': a {{l/same|cKiosk}} that has to do its own figuring to separate out the...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{fmt/title|class <code>menu\cKiosk_admin</code>}} | {{fmt/title|class <code>menu\cKiosk_admin</code>}} | ||
* '''namespace''': {{l/same|menu}} | * '''namespace''': {{l/same|menu}} | ||
* '''source''': {{l/ferreteria/code|menu/kiosk.php}} | |||
* '''purpose''': a {{l/same|cKiosk}} that has to do its own figuring to separate out the path data from the full URL | * '''purpose''': a {{l/same|cKiosk}} that has to do its own figuring to separate out the path data from the full URL | ||
==Methods== | ==Methods== |
Revision as of 21:32, 17 October 2022
class
menu\cKiosk_admin |
- namespace: menu
- source: menu/kiosk.php
- 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.