Ferreteria/v0.3/class/cFieldRowDisplay: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v0.3‎ | class
Jump to navigation Jump to search
(Created page with "<source lang=php> →‎PURPOSE: data-row management for display I/O REPLACES: forms HISTORY: 2018-09-30 started: class cIORowDisplay extends cIORow { //use ftVer...")
 
m (7 revisions imported: moving this project here)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{page/code/class|ferreteria}}
<source lang=php>
<source lang=php>
/*
/*
Line 6: Line 7:
     2018-09-30 started
     2018-09-30 started
*/
*/
class cIORowDisplay extends cIORow {
class cFieldRowDisplay extends cFieldRow {
     //use ftVerbalObject;
     //use ftVerbalObject;


Line 43: Line 44:
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.
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''': <code>/data/rows/display.php</code>
* '''file''': {{l/ferreteria/file|data/rows/display.php}}
* '''extends''': {{l/ferreteria/class|cIORow}}
* '''extends''': {{l/ferreteria/class|cFieldRow}}

Latest revision as of 16:42, 22 May 2022

Template:Page/code/class

/*
  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.