Ferreteria/v2/class/fcpeSimple

From Woozle Writes Code
< Ferreteria‎ | v2‎ | class
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) {}
}