[fw-general] Autoloading and routing question

2010-04-29 Thread benxmy
This may be a bit of a noob question, but I'm having difficulty figuring out how to autoload/call a class that's in the library of my directory structure. The directory structure is as follows: - application - configs - modules - auth - controllers - ...

[fw-general] Conceptual/Technical Question for Multiple Module App (ZF 1.10)

2010-04-07 Thread benxmy
Hi, I'm currently building a portal that will have a growing number of modules running through this single portal and I've failed to completely figure out how to get it all running. I've plowed through dozens of different posts and threads about this, but can't quite wrap my head around what part

Re: [fw-general] getMessages() crashes with quotes!

2009-02-14 Thread benxmy
Fixed! Thanks to some help I figured out that it was a problem with the expression. I changed the expression to: /^[-'A-Za-z]+$/ and it seems to be working. benxmy wrote: > > So I'm still having some failure on this, maybe related to my limited > understanding of

Re: [fw-general] getMessages() crashes with quotes!

2009-02-10 Thread benxmy
ging around looking at both regular expressions and Zend's implementation of regexs, but am at a loss. Is there a way to get around this that I'm not seeing? Or will I have to write my own validator to accomplish this? Thanks a lot for any input! Matthew Weier O'Phinney-3 wrote

Re: [fw-general] getMessages() crashes with quotes!

2009-02-05 Thread benxmy
t;Gravit8" it will return true (G being the first match), when I need it to return false (for the 8). Matthew Weier O'Phinney-3 wrote: > > -- benxmy wrote > (on Thursday, 05 February 2009, 12:20 PM -0800): >> >> So I figured it out to an extent, but I think I

Re: [fw-general] getMessages() crashes with quotes!

2009-02-05 Thread benxmy
t validates the wrong way. I assume there's a way to reverse that in ZF, but I haven't been able to find the correct syntax. Is that possible? Or do I need to alter the expression itself? Thanks! Matthew Weier O'Phinney-3 wrote: > > -- benxmy wrote > (on Tuesday, 03 Febr

Re: [fw-general] getMessages() crashes with quotes!

2009-02-03 Thread benxmy
hecked that I have the $_validators array set up correctly (testing with only the single field) and get the same exception. Matthew Weier O'Phinney-3 wrote: > > -- benxmy wrote > (on Monday, 02 February 2009, 01:58 PM -0800): > > You're creating the validators array

Re: [fw-general] getMessages() crashes with quotes!

2009-02-02 Thread benxmy
The more I dig around and play with it, the more I think it may be a small ZF bug. Basically, I couldn't figure out what was happening, so I had the update function just print out the result of the validation: ** public function update(array $data, $where) { $valid = $th

Re: [fw-general] getMessages() crashes with quotes!

2009-02-02 Thread benxmy
Get the same failure with Alnum. I thought maybe using the built-in Regex validation class might work, so i've altered the $_validators array to look like this: *** protected $_validators = array( 'field1' => array('regex',true,array('/[^a-zA-Z\'\-\ ]/')),

[fw-general] getMessages() crashes with quotes!

2009-02-02 Thread benxmy
Hi, I'm pretty new to ZF, but I've searched around quite a bit to try and find a solution for this and thus far failed and I was hoping someone here could point me in the right direction. I'm creating a class that extends the Zend_Db_Table_Abstract class which will be a parent class to all our m