[fw-general] Zend_Application and Zend_Db_Profiler

2009-05-08 Thread pakmannen
Hi, I've been reading up on the new Zend_Application. Looks fantastic! I have one quick question: is it possible to add a database profiler using the db resource in application.ini? I couldn't find any info on this. And enabling it as well, obviously. If not, where would be a good place to do th

Re: [fw-general] Zend_Form: adding error messages to elements

2008-06-19 Thread pakmannen
/Jens Ljungblad Matthew Weier O'Phinney-3 wrote: > > -- pakmannen <[EMAIL PROTECTED]> wrote > (on Wednesday, 18 June 2008, 04:03 PM -0700): >> Just started working with Zend_Form and I'm liking it so far. One thing >> I'm >> wondering about though, which cam

Re: [fw-general] Zend_Form: adding error messages to elements

2008-06-19 Thread pakmannen
Wouldn't I need two custom validators, one each for the username and password fields? Also, are you suggesting that I perform the authentication inside the custom validator? That doesn't feel very flexible but I don't know, maybe I'm missing something. Care to provide an example? I've been tryin

[fw-general] Zend_Form: adding error messages to elements

2008-06-18 Thread pakmannen
Hello List (and Matthew) Just started working with Zend_Form and I'm liking it so far. One thing I'm wondering about though, which came up when I was working with a login form using Zend_Auth. It would be great if there was a method for adding error messages to an element with a public method. Th

Re: [fw-general] Error supression on calls to loadClass across ZF obscuring parse errors

2008-05-07 Thread pakmannen
I second this. I haven't used Zend_Db before but recently started to look into it, and had this happen to me. Also, would be great if something was done about the autoloader throwing warnings when a class isn't found. Very annoying in a developer environment when you are using more than one autol

Re: [fw-general] Admin Area

2008-04-05 Thread pakmannen
The second approach is how I used to do it (coming from Symphony) but I'm curious about something. I'm currently developing a rather large "community" site, and I ended up making the various sections of the site into modules. That is, I've got a forum module for instance, with the following contro

Re: [fw-general] Zend_Loader no longer works as expected in 1.5

2008-03-24 Thread pakmannen
; http://framework.zend.com/issues/browse/ZF-2923 > http://www.nabble.com/Re%3A-1.5.0-Zend_Loader%2C-auto-load-and-non-existent-classes-ts16153003.html > > pakmannen wrote: >> Hi, >> >> I recently updated from 1.0 to 1.5 and noticed that Zend_Loader no longer >> wor

[fw-general] Zend_Loader no longer works as expected in 1.5

2008-03-24 Thread pakmannen
Hi, I recently updated from 1.0 to 1.5 and noticed that Zend_Loader no longer works as expected. When loading a class, it no longer checks to see if the file exists before loading, which means that when autoloading classes, you get php warnings when the file doesn't exist. This makes it impossibl

[fw-general] Re: Re[fw-general] move trailing parameters when using Redirector Helper?

2007-12-14 Thread pakmannen
Not sure if this is what you mean, but you can set the third parameter, $reset, to true: $this->_helper->Redirector->gotoRoute(array(), 'features', true); That will build the route "from scratch" so to speak. Nogyara wrote: > > Hi guys, > having this route definition: > > $oRoute = new Zend_C

Re: [fw-general] Zend_Filter_Input and unknown fields

2007-11-18 Thread pakmannen
tering, validation AND escaping. Or should you just add a filter or validator to every field? /Jens Ljungblad Laurent Melmoux wrote: > > Hi pakmannen, > > You can have a look at this issue : > http://framework.zend.com/issues/browse/ZF-2128 > > -- > Laurent Melmoux -

[fw-general] Zend_Filter_Input and unknown fields

2007-11-16 Thread pakmannen
Hi all, Have a question regarding Zend_Filter_Input and unknown fields. Basically, I have a form with, say, five fields. I want to apply a filter on all of them, but only need to validate two. I thought I could do something like this: $filters = array( '*' => new Zend_Filter_Trim ); $valida