"; }; $f = new B(); $f->addPrivateFunction("authorize",$authorize); $f->interceptFunction(array($f,"action"),array($f,"authorize")); $f->action(); ?>