Futilities/v0.6/clade/Kiosk/@removed

From Woozle Writes Code
< Futilities‎ | v0.6‎ | clade‎ | Kiosk
Revision as of 14:40, 17 November 2025 by Woozle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Removed Code

2025-11-17

Tidying up:

#
    // ACTION: do all the fiddly reorganizing needed to figure out what the input means
    // 2025-11-17 This does nothing and is never re-implemented anywhere.
    protected function ParseInput() {
        // 2025-03-09 This is done in the config.
        //  It also first gets called in WUIDL Kiosk, so maybe it should just be there.
    }
    // ACTION: act on the input
    // 2025-11-17 Nothing ever implements or calls this.
    protected function HandleInput() { echo self::PromptForMethod(); }

2025-08-26

Commented out on 2025-03-08:

#
    /**
     * CEMENT: Kiosk\Root
     * ACTION: process the prepared input actions
     *  This is called only after the input is deemed valid.
     */
    // 2025-03-08 Changing the dispatch methodology.
    protected function Respond() {
        $this->HandleInput();
        $this->HandleErrors();
    }

2024-12-16

Apparently this method never got (re-)used in the Ferreteria rewriting of Futils:

// 2024-12-16 cSubOpts does not exist, so what calls this?
    private $arSub = [];
    public function GetSubTerms(string $sKey,string $sc) : cSubOpts {
        if (array_key_exists($sKey,$this->arSub)) {
            $oSub = $this->arSub[$sKey];
        } else {
            $oSub = NULL;  // if this remains NULL, then option is not set
            if ($this->HasCmdOption($sKey)) {
                $oOpt = $this->GetCmdOptionByKey($sKey);    // get formatted suboption string
                $oSub = new $sc($oOpt->GetVal());      // $oSub parses that and wraps the results
            }
            if (is_null($oSub)) {
                $oSub = new $sc; // blank object, nothing set
            }
            $this->arSub[$sKey] = $oSub;
        }
        return $oSub;
    }

2024-11-22

Commented out earlier:

#
    /**
     * RETURNS:an object encapsulating the *available* CLI options
     */
    public function RenderOptions() : string { $this->PromptForMethod(); }