Ferreteria/v0.3/class/cFieldRowDisplay

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Ferreteria‎ | v0.3‎ | class
Jump to: navigation, search
/*
  PURPOSE: data-row management for display I/O
  REPLACES: forms
  HISTORY:
    2018-09-30 started
*/
class cFieldRowDisplay extends cFieldRow {
    //use ftVerbalObject;

    // ++ SETUP ++ //

    public function __construct(string $sName) {
	$this->SetNameString($sName);
	$this->InitVars();
    }
    protected function InitVars() {}

    // -- SETUP -- //
    // ++ SETTINGS ++ //
    
    private $sName;
    protected function SetNameString(string $sName) {
	$this->sName = $sName;
    }
    public function GetNameString() {
	return $this->sName;
    }
    private $sKey;
    protected function HasKeyString() {
	return isset($this->sKey);
    }
    protected function SetKeyString($s) {
	$this->sKey = $s;
    }
    protected function GetKeyString() {
	return $this->sKey;
    }
    
    // -- SETTINGS -- //
}

This class may be inconsistent with the current v3 class structure. Currently only extended by one class in WorkFerret, which is not functioning as of this writing.

  • file: data/rows/display.php
  • extends: cFieldRow