Doc #9291 [Fbk->Asn]: error in first example.. :) :)

From: Date: Sat, 11 Nov 2006 17:08:44 +0000
Subject: Doc #9291 [Fbk->Asn]: error in first example.. :) :)
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8764@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=9291&edit=1 ID: 9291 Updated by: wiesemann@php.net Reported By: ancro3 at gmail dot com -Status: Feedback +Status: Assigned Id: 9291 Type: Documentation Problem Package: Documentation PHP Version: 5.1.6 Assigned To: mj New Comment: The problem is here: http://pear.php.net/manual/en/package.html.html-quickform-controller.intro.php Previous Comments: ------------------------------------------------------------------------ [2006-11-11 11:40:17] mj at php dot net Which page are you referring to, please? ------------------------------------------------------------------------ [2006-11-09 12:54:30] ancro3 at gmail dot com Description: ------------ In basic example misses "case 'foo' and case 'bar'" The most basic implementation of the PageController pattern would look like <?php switch ($_REQUEST['action']) { 'foo': doFoo(); break; 'bar': doBar(); break; default: echo 'Hello, world!'; } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=9291&edit=1

« previous php.pear.doc (#8764) next »