Ferreteria/v0.5/@cls/cKiosk: Difference between revisions
< Ferreteria | v0.5 | @cls
Jump to navigation
Jump to search
(Created page with "{{fmt/title|class <code>menu\cKiosk</code>}} ==Methods== * public function __construct(string $wp) { $this->SetPath($wp); } * protected function SetPath(string $wp) { $this->w...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{fmt/title|class <code>menu\cKiosk</code>}} | {{fmt/title|class <code>menu\cKiosk</code>}} | ||
==Methods== | ==Methods== | ||
{| class="wikitable sortable" | |||
! 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 | |||
|- | |||
| public || MakeURLFromString(string $sPath) : string | |||
| | |||
| RETURNS: The full URL for the given input string | |||
* This format can be overridden if you want the string to be presented some other way, such as in a ?query | |||
|- | |||
| public || GetInputString(bool $doEndSlash) : string | |||
| | |||
| RETURNS: The string from which all input arguments may be parsed | |||
* This format can be overridden if you want to get the string from somewhere else, such as a ?query\ | |||
|- | |||
| public || DumpFull() : string | |||
|} |
Revision as of 14:10, 17 October 2022
class
menu\cKiosk |
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 | ||
public | MakeURLFromString(string $sPath) : string | RETURNS: The full URL for the given input string
| |
public | GetInputString(bool $doEndSlash) : string | RETURNS: The string from which all input arguments may be parsed
| |
public | DumpFull() : string |