Ferreteria/v2/class/fcpeSimple

From Woozle Writes Code
< Ferreteria‎ | v2‎ | class
Revision as of 16:45, 22 May 2022 by Woozle (talk | contribs) (1 revision imported: moving this project here)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Page/code/class

/*::::
  PURPOSE: a Simple Page Element is a Page Element with a name and a value, no other contents to display; 
    defaults to obliviousness (ignores events).
*/
class fcpeSimple extends fcPageElement {
    public function Render() {
	return $this->GetValue();
    }
    public function DoEvent($nEvent) {}
}