Ferreteria/v0.5/@cls/cKiosk

From Woozle Writes Code
< Ferreteria‎ | v0.5‎ | @cls
Revision as of 14:06, 17 October 2022 by Woozle (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
class menu\cKiosk

Methods

  • public function __construct(string $wp) { $this->SetPath($wp); }
  • protected function SetPath(string $wp) { $this->wp = ltrim($wp,'/'); } // make it a relative path
  • public function GetAbsolutePath($doEndSlash) : string
  • public function GetRelativePath(bool $doEndSlash) : string
  • public function 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 function 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 function DumpFull() : string {