Ferreteria/v0.5/@cls/cKiosk admin: Difference between revisions

From Woozle Writes Code
< 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...")
 
(where did I even get that method list from :-S)
 
(One intermediate revision by the same user not shown)
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==
Line 6: Line 7:
! access || function name || code (if short) || purpose
! access || function name || code (if short) || purpose
|-
|-
| public || __construct(string $wp) || { $this->SetPath($wp); }
| public || GetInputObject() : cArgs
|-
|-
| protected || SetPath(string $wp) || { $this->wp = ltrim($wp,'/'); } || make it a relative path
| protected || MakeInputObject() : cArgs
|-
| public || GetAbsolutePath($doEndSlash) : string
|-
| public || GetRelativePath(bool $doEndSlash) : string
|}
|}
==Usage==
* fcDisplayForm::ReadFromPath() ({{l/ferreteria/code|forms/display/display-form.php}}) calls <code>GetInputObject()</code>
** This is probably obsolete.
* {{l/ver/class|caWidget}}
** ::Input_PathRequest() calls <code>GetInputObject()->Cell(self::ksACTION_KEY)</code>
* fcHeaderChoiceGroup::GetChoiceValue() calls <code>GetInputObject()</code>
** This is probably obsolete.
* {{l/ver/class|cPage}}::OnFigure() calls <code>GetInputObject()</code>, but then does nothing with it. ???
==History==
==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.
* '''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.

Latest revision as of 00:04, 18 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 GetInputObject() : cArgs
protected MakeInputObject() : cArgs

Usage

  • fcDisplayForm::ReadFromPath() (forms/display/display-form.php) calls GetInputObject()
    • This is probably obsolete.
  • caWidget
    • ::Input_PathRequest() calls GetInputObject()->Cell(self::ksACTION_KEY)
  • fcHeaderChoiceGroup::GetChoiceValue() calls GetInputObject()
    • This is probably obsolete.
  • cPage::OnFigure() calls GetInputObject(), but then does nothing with it. ???

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.