Ferreteria/v2/class/fcpeSimple: Difference between revisions

From Woozle Writes Code
< Ferreteria‎ | v2‎ | class
Jump to navigation Jump to search
(Created page with "{{page/code/class}} * '''file''': {{l/version|file|page/page.php}} * '''extends''': {{l/version|class|fcPageElement}} * '''extended by''': ** {{l/version|class|fcpeLoginWidget...")
 
m (1 revision imported: moving this project here)
 
(No difference)

Latest revision as of 16:45, 22 May 2022

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) {}
}