Re: [fw-general] Zend_Dom_Query and attributes with spaces

2009-10-01 Thread Саша Стаменковић
Ah, you tried, well, this ($res = $dom->query('input[type="text"][value="somevalue]');) is how it works with jQuery selectors. Regards, Saša Stamenković On Fri, Oct 2, 2009 at 8:09 AM, Саша Стаменковић wrote: > Try: > $res = $dom->query('input[type="text"][value="somevalue]'); > > Regards, > S

Re: [fw-general] Zend_Dom_Query and attributes with spaces

2009-10-01 Thread Саша Стаменковић
Try: $res = $dom->query('input[type="text"][value="somevalue]'); Regards, Saša Stamenković On Thu, Oct 1, 2009 at 11:19 PM, gerardroche wrote: > > how would you query two attributes together? > > I've tried quite a fwe variations: > > > > $res = $dom->query('input[type="text" value="somevalue

Re: [fw-general] Problem with autoloading and unit testing Zend_Application

2009-10-01 Thread Ralph Schindler
Mostly you should note that just as your application would bootstrap, so does your testing environment. This means that you need to have an Zend_Application being setup, and it would bootstrap as normal. This would assume that your bootstrap class probably has a method to setup your autoloadi

Re: [fw-general] Zend_Dom_Query and attributes with spaces

2009-10-01 Thread gerardroche
how would you query two attributes together? I've tried quite a fwe variations: $res = $dom->query('input[type="text" value="somevalue]'); $res = $dom->query('input[type="text", value="somevalue]'); $res = $dom->query('input[type="text"+value="somevalue]'); $res = $dom->query('input[type="text

Re: [fw-general] Autoloading Doctrine models/base models

2009-10-01 Thread Dodger
Hi Matthew, Yes, I read that info in your blog. Unfortunately, my requirements differ. 1. At the moment, I'm not using table classes. 2. I need generated base classes to be autoloaded. You say: "Then use a resource autoloader or module autoloader to do autoloading of your model classes; everyth

Re: [fw-general] Autoloading Doctrine models/base models

2009-10-01 Thread Matthew Weier O'Phinney
-- Dodger wrote (on Wednesday, 30 September 2009, 12:14 PM -0700): > File NameClass PrefixBase Prefix Model Name > -- > Post.php Blog_Model_ Post > (Blog_

Re: [fw-general] Duplicate id attributes for dd's and dt's - Zend_Form

2009-10-01 Thread Eugene Morgan
I think you must be right Hector, but I was wondering if there was something I was missing. I know that you could adjust the decorators manually, but that would be a rather involved process -- I was hoping there was a way to do it centrally such as setElementsBelongTo(). On Wed, Sep 30, 2009 at 2:

[fw-general] 2D Barcode generation (e.g. DataMatrix ECC200)

2009-10-01 Thread Gunter Sammet
Hi all: I'm in the need of generating 2D barcode (DataMatrix ECC200 for shipping labels). So far I haven't found anything open source that would allow me to create them. So I thought it might be a good addition to ZF. Checked if there is already any barcode project in ZF and I found the following:

Re: [fw-general] Zend-AMF breaks php date(..) function

2009-10-01 Thread Alan Wagstaff
What error messages do you get when you use date()? 2009/10/1 MSFXX > > I would like to create a date variable like this: > > $thedate = date("d-m"); > > outputting something like "01-10" > > This works fine within my PHP class however when I use it within the > ZendFramework it breaks :( > > Th

[fw-general] Zend-AMF breaks php date(..) function

2009-10-01 Thread MSFXX
I would like to create a date variable like this: $thedate = date("d-m"); outputting something like "01-10" This works fine within my PHP class however when I use it within the ZendFramework it breaks :( There is nothing wrong with the other code within the class because if I hardcode the date

Re: [fw-general] Problem with autoloading and unit testing Zend_Application

2009-10-01 Thread Aycko
Push. Aycko wrote: > > All classes which are loaded with Zend_Application_Module_Autoloader in > module bootrap could not be found. The autoloaders are defined in > application bootstrap and module bootstrap ... this works great, but not > fpr testing. > Defining the Zend_Application_Module_Aut