[fw-general] How to make a global Zend_Log with Zend_Application_Bootstrap

2009-10-11 Thread Peter Smit
I would like to make a global Zend_Log object that I can reach from my Controllers and my Models. What should I add to my Bootstrap? (My bootstrap extends Zend_Application_Bootstrap) How then can I reach the logger object from my controller actions and from my model? Regards, Peter Smit

[fw-general] Bug in Zend_Date

2009-10-28 Thread Peter Smit
ter API. Is this a bug? Regards, Peter Smit

Re: [fw-general] Bug in Zend_Date

2009-10-28 Thread Peter Smit
On Wed, Oct 28, 2009 at 2:29 PM, Shaun Farrell wrote: > Peter, > > Try this. It may work > > $indate = "Fri Oct 23 15:47:42 + 2009"; > $outformat = " d MMM "; > $date = new Zend_Date(); > $date->setTimezone('Europe/Helsinki'); > $datetime = strtotime($indate); > $date->set($datetime)

[fw-general] Random filename when using Zend_Form_Element_File

2009-12-29 Thread Peter Smit
to retrieve the original filename. How can this be done, or how do others solve it? Regards, Peter Smit --- +358 44 218 2700

Re: [fw-general] Random filename when using Zend_Form_Element_File

2009-12-30 Thread Peter Smit
ader, Zend Framework > http://www.thomasweidner.com > > - Original Message - From: "Peter Smit" > To: > Sent: Wednesday, December 30, 2009 12:32 AM > Subject: [fw-general] Random filename when using Zend_Form_Element_File > > > > Hey, >> >> W

Re: [fw-general] Random filename when using Zend_Form_Element_File

2010-01-01 Thread Peter Smit
form->file->getFilename()); echo "File uploaded"; } On Wed, Dec 30, 2009 at 4:15 PM, Diego Potapczuk wrote: > For some reason it has no link in the filter section, but you can find > informations about it in the Zend_File section. > > http://zen

Re: [fw-general] Random filename when using Zend_Form_Element_File

2010-01-01 Thread Peter Smit
Validate_File_Upload [1] => Zend_Validate_File_Count [2] => Zend_Validate_File_Size ) [filters] => Array ( ) [destination] => /tmp ) ) --- +358 44 218 2700 On F