well i thought about that, and that's a very simple solution (because the
code in the url helper is very simple), but that internal interface might
change in later revisions of the framework, so i thought i'd see about doing
it the "right" way :P
On Tue, Dec 2, 2008 at 5:21 PM, keith Pope <[EMAIL
I very much doubt that the routers assemble interface will change, if
it does ZF will definitely announce it as a BC breaking change.
2008/12/2 Cameron <[EMAIL PROTECTED]>:
> well i thought about that, and that's a very simple solution (because the
> code in the url helper is very simple), but tha
Thanks Matthew,
It works perfectly now. I was not aware of that. It was this simple.
--
View this message in context:
http://www.nabble.com/Need-help-regarding-error-handling-tp20788987p20791003.html
Sent from the Zend Framework mailing list archive at Nabble.com.
On Tue, Dec 2, 2008 at 3:06 AM, Cameron <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> The subject line sums it all up. I do some URL generation in the controller
> / model (form submission URLs and so on), and I'd love to be able to use the
> same url View Helper that has proven so wonderful in my View
Bin Hu-3 wrote:
>
>
> some other reasons, I want to call an external library written in C++.
>
> Bin
>
>
I thought this is what PECL is http://pecl.php.net/, you compile the c++ as
a php interface, then call it like a normal function.
Or compile your c++ as a normal app, then call it us
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
*MVC police arriving*
Use the url action helper, it works exacly like the url view helper.
Also the view helper may output html-escaped in the future, so you
shouldn't rely on this. And yes, the assembly method may change
completly with 2.0.
$this->_
Hello
Following is my bootstrap code
$frontController = Zend_Controller_Front::getInstance();
$frontController->registerPlugin(new Zend_Controller_Plugin_ErrorHandler());
$frontController->throwExceptions(true);
try {
$frontController->dispatch();
} catch (Ex
On Tuesday 02 December 2008 08:06:52 Cameron wrote:
>Hi guys,
>
>The subject line sums it all up. I do some URL generation in the controller
>/ model (form submission URLs and so on), and I'd love to be able to use the
>same url View Helper that has proven so wonderful in my Views. What's the
>tric
-- amar4kintu <[EMAIL PROTECTED]> wrote
(on Tuesday, 02 December 2008, 01:48 AM -0800):
> Following is my bootstrap code
>
> $frontController = Zend_Controller_Front::getInstance();
>
> $frontController->registerPlugin(new Zend_Controller_Plugin_ErrorHandler());
>
Thank you very much, just what I needed. But perhaps you can help me a little
bit out on how to edit those constants.
Thanks in advance!
--
View this message in context:
http://www.nabble.com/Captcha-Form-Validation-tp20353901p20788953.html
Sent from the Zend Framework mailing list archive at
Try the following code (From a internal-only Controller):
public function preDispatch()
{
// prevent requesting this controller by URL, only
action-view-helper/ajax calls are allowed
if ($this->getFrontController()->getRequest()->getControllerName()
== $this->getRequest()->
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Take a look at this wonderful PECL tutorial by Sara Golemon:
http://devzone.zend.com/node/view/id/1021
Ben
...
: ___ _ ___ ___ ___ _ ___:
: | \ /_\ / __| _ \ _ (_) \ :
: | |) / _ \\__ \ _/ / | |) | :
I would have a look inside the view url helper and maybe create an
action helper that does the same?
2008/12/2 Cameron <[EMAIL PROTECTED]>:
> Hi guys,
>
> The subject line sums it all up. I do some URL generation in the controller
> / model (form submission URLs and so on), and I'd love to be able
Themselves wrote:
>
> What's the trick?
>
In your controller -> action:
$tmp = $this->view->url( array( 'controller'=>'moo' ) );
Try that.
This kinda breaks the MVC, so be prepared for the MVC police ;-)
monk.e.boy
--
View this message in context:
http://www.nabble.com/-Dumb-Question--H
Hi Everyone,
Just wanted to post a quick update to my previous script, which is now
compatible with 1.7.1 and Zend_Loader_PluginLoader, the code is here:
http://pastebin.com/f19b4676
Place it in a directory, create a subdirectory called "source" and put
a copy of ZF in it. Create a new folder cal
15 matches
Mail list logo