Re: QFC handle
| From: | Alexey Borzov | Date: | Mon, 23 Feb 2004 08:37:49 +0000 |
| Subject: | Re: QFC handle | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-10863@lists.php.net to get a copy of this message | ||
Hi!
Daniel Kopp wrote:
How come: $page=&$controller->getPage('pagename'); $page->handle('display'); and $controller->handle($page,'display'); has different results? The first uses my non-default display Action the second uses the default ...This is the expected behaviour. You don't generally need to call $controller->handle(), $page->handle() calls it automatically if a non-default Action was not added to the Page.