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

From: Date: Sat, 11 Nov 2006 17:12:40 +0000
Subject: Doc #9291 [Asn->Csd]: error in first example.. :) :)
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-8767@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: mj@php.net Reported By: ancro3 at gmail dot com -Status: Assigned +Status: Closed Id: 9291 Type: Documentation Problem Package: Documentation PHP Version: 5.1.6 Assigned To: mj New Comment: This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Previous Comments: ------------------------------------------------------------------------ [2006-11-11 12:08:44] wiesemann at php dot net The problem is here: http://pear.php.net/manual/en/package.html.html-quickform-controller.intro.php ------------------------------------------------------------------------ [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 (#8767) next »