AW: [fw-general] Zend_Validate_File_IsImage return "File 'image.png' is no image, 'application/octet-stream' detected".

2011-05-14 Thread Thomas Weidner
Hy, the IsImage validator uses the mimetype detected from the file itself, not the one which is send from the customer. Otherwise someone could send you an file and say it's an image but instead it's an exe file. Thomas Weidner Zend Framework Certified Engineer & I18N Te

AW: [fw-general] Handling time measures

2011-05-14 Thread Thomas Weidner
Hy, use Zend_Measure_Time by suppressing values below 1. $hours = $time->convert($input, Zend_Measure_Time::HOUR); $input -= $hours*3600; $minutes = $time->convert($input, Zend_Measure_Time::MINUTES); $input -= $minutes * 60; $seconds = $time->convert($input, Zend_Measure_Time::SECONDS); print($

AW: [fw-general] Zend_Locale_Format::toNumber fails

2011-04-16 Thread Thomas Weidner
I can not reproduce your problems using the same settings. Try to use the latest release (1.11.x) Thomas Weidner Zend Framework Certified Engineer & I18N Team Leader <http://www.thomasweidner.com> http://www.thomasweidner.com -Ursprüngliche Nachricht- Von: F

AW: [fw-general] Re: Zend_Validate_* now translatable!

2011-03-25 Thread Thomas Weidner
The reason is that translation files are often outdated. For outdated files this would mean that, when we are using class constants, the user would see a constant instead of an english text. Generally it is always better to display a user english text instead of a cryptic constant. Thomas

AW: [fw-general] Zend_Form - Unable to translate error messages post-validation

2010-10-23 Thread Thomas Weidner
the form as you also want to show your customer a already translated form. Thomas Weidner Zend Framework Certified Engineer & I18N Team Leader http://www.thomasweidner.com -Ursprüngliche Nachricht- Von: Hector Virgen [mailto:djvir...@gmail.com] Gesendet: Freitag, 22. Oktober 2010

AW: [fw-general] Re: Date Subtractions Differences

2010-10-15 Thread Thomas Weidner
Note that according to manual and faq the calendar year ' differs from the real year ''. As long as Thursday is below the 4th the week differs, so does the year oft he week. See into your book calendar for an real world example Thomas Weidner Zend Framework Certified Engin

AW: [fw-general] Zend_Validate_Date returns false for dates between: 28/10/2038 and 19/03/2042

2010-10-10 Thread Thomas Weidner
The 32bit Overflow occurs on 2038 not 2042 ;-) Thomas Weidner Zend Framework Certified Engineer & I18N Team Leader http://www.thomasweidner.com -Ursprüngliche Nachricht- Von: Daniel Latter [mailto:dan.lat...@gmail.com] Gesendet: Freitag, 08. Oktober 2010 22:52 An: Zend Frame

AW: [fw-general] Zend date add/sub methods don't change year ?

2010-09-18 Thread Thomas Weidner
Look into the FAQ and the manual what the difference between "Y" and "y" is. Best regards, Thomas Weidner Zend Framework Certified Engineer & I18N Team Leader http://www.thomasweidner.com -Ursprüngliche Nachricht- Von: debussy007 [mailto:debussy...@gmail.com

[fw-general] Resource translations

2010-08-07 Thread Thomas Weidner
translation when they feel that this language should still be available in the next release. Additionally I request all to review the other languages as some of them have missing translations. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

Re: [fw-general] Is there a plan for Zend_Locale 2.0 ?

2010-08-03 Thread Thomas Weidner
Yes... otherwise this issue would have been closed as "won't fix". :-) Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Саша Стаменковић" To: "Thomas Weidner" Sent: Tuesday, Augus

Re: [fw-general] Is there a plan for Zend_Locale 2.0 ?

2010-08-03 Thread Thomas Weidner
Script support as noted in the description of this issue is not equal to locale variants. These are 2 different things. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Саша Стаменковић" To: "Nabble

Re: [fw-general] Zend_File_Transfer_Http strange behaviour

2010-07-03 Thread Thomas Weidner
As you are trying to emulate file upload behaviour you must also provide the necessary hidden fields. Otherwise the upload could fail or the behaviour be unlogical. Your code is missing some necessary details. Your description: You are trying to upload file ONE... first file valid and uploaded.

Re: [fw-general] Re: Zend_Validate_File_Upload strange behavior

2010-06-17 Thread Thomas Weidner
Which problem? A small note of the problem you have would increase the possibility to help you. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "sinister2k" To: Sent: Thursday, June 17, 2010 10:54 AM Su

Re: [fw-general] Re: Progressive upload not working

2010-06-17 Thread Thomas Weidner
your code uploads the file. After the file has completly been uploaded it tries to get a progress. In my opinion it's logically that in this case 100% is displayed (upload finished = 100% / Done) But not in yours? PS: ZendServer is not maintained by the Zend Framework community. Greetings

Re: [fw-general] Is the fw-i18n list active/maintained ?

2010-06-15 Thread Thomas Weidner
Yes, the list is active. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Cristian Bichis" To: "Zend Mailing List" Sent: Tuesday, June 15, 2010 9:42 PM Subject: [fw-general] Is the fw-i18n li

Re: [fw-general] Progressive upload not working

2010-06-12 Thread Thomas Weidner
Take a look at the example within the framework and take a look into the manual. You are not trying to get the progress. From where ever you got your code... this can not work this way... never ever... Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

Re: [fw-general] Zend_Translate missing locale code

2010-05-31 Thread Thomas Weidner
Use "sr" for latin and "sr_SR" for cyrillic. You need to create a related routing for this to work. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Саша Стаменковић" To: "Thomas W

Re: [fw-general] Zend_Translate missing locale code

2010-05-31 Thread Thomas Weidner
Charset informations are actually not supported for translation. (also mentioned some topics earlier) Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Саша Стаменковић" To: "Nabble Zend Framework

Re: [fw-general] Zend_Translate plural forms and poedit

2010-05-31 Thread Thomas Weidner
I think you missed the problem itself. He can not run poEdit to create plural form po files. This has nothing to do with Zend_Translate_Adapter_Gettext or with how Zend_Translate parses the translation files. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http

Re: [fw-general] Validating numeric input

2010-05-31 Thread Thomas Weidner
Sorry, but Zend_Validate_Int will return false on any float values. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Aleksey Zapparov" To: "Sudheer Satyanarayana" Cc: "Zend Framework Gener

Re: [fw-general] Zend_Translate plural forms and poedit

2010-05-30 Thread Thomas Weidner
Wrong, Zend_Translate_Adapter_Gettext does not parse files at all. It reads the binary *.mo file to know what it should translate. For parsing you need to run gettext's utilities or poEdit (which itself is very buggy). Greetings Thomas Weidner, I18N Team Leader, Zend Framework

Re: [fw-general] Zend_Translate plural forms and poedit

2010-05-30 Thread Thomas Weidner
poEdit can not handle modern plural translations. It is fixed to english notation (one plural form). Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Саша Стаменковић" To: "Nabble Zend Framework General

Re: [fw-general] Getting the name of a month from the locale.

2010-05-25 Thread Thomas Weidner
Hi. What is the simplest way to get the name of a month based upon data held by Zend_Locale? To look into the manual and use getTranslation() Thank you. Richard. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

Re: [fw-general] Formatting localized date time wih Zend_Date

2010-05-14 Thread Thomas Weidner
The serbian time format is defined as "HH.mm.ss" within CLDR. So eighter the wiki is wrong or unicode is wrong. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: " ???" To: "Nabb

Re: [fw-general] Zend_Form_Element_File question

2010-04-22 Thread Thomas Weidner
When are you doing what ? The correct order of how files are processed is important. For example: receive() can return true when you say that the file element is allowed to be empty. But getFileName will not return a filename in this case as there is no file. Greetings Thomas Weidner, I18N

Re: [fw-general] Good practice - translate html

2010-03-31 Thread Thomas Weidner
The problem is not speed. The problem appears when there are missing translations. Then you will get the message id... when it is a english one, most people will understand it. But when you are using a cryptic key there is no way for your user to know what you've meant. Greetings T

Re: [fw-general] Zend_Date with Zend_Locale for en_SG

2010-03-26 Thread Thomas Weidner
ormat definition. new Zend_Date('26/03/2010', 'MM/dd/', 'en_SG'); Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Chin Lee" To: Sent: Friday, March 26, 2010 5:53 AM Subject

Re: [fw-general] Re: Difference between days using zend

2010-03-25 Thread Thomas Weidner
And one more time: When you define that "2010-03-10" is YEAR-MINUTE-DAY how should it then "correctly" calculate the date ? There is no month defined !!! Please read the manual for details about constants as described before. Greetings Thomas Weidner, I18N Team Leader,

Re: [fw-general] Help With Zend_Currency Throwing Exception

2010-03-25 Thread Thomas Weidner
gion (default is "en") a fallback is not possible. Also when you defined "en_US" and your user gives "sk", your user probably don't want to fall back to USA. The correct usage is clearly described within the manual. Greetings Thomas Weidner, I18N T

Re: [fw-general] Difference between days using zend

2010-03-25 Thread Thomas Weidner
Out of curiosity... why do you want to have YEAR - MINUTE - DAY as date ??? Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "nisanth" To: Sent: Thursday, March 25, 2010 8:59 AM Subject: [fw-general]

Re: [fw-general] How to convert different local float format to standard float format, using zend?

2010-03-23 Thread Thomas Weidner
You should be precise... What is 1,235.23 as var_dump ? Are both values strings? And what is your system's locale? What do you set within the registry? Are you "hardcoding" en_IN or are you relying on the system/browser/autosettings? Greetings Thomas Weidner, I18N Team Leader,

Re: [fw-general] Re: File upload problem:(

2010-03-18 Thread Thomas Weidner
ode work"... it's your code and you should be able to find such simple errors yourself. I can give hints, but changing your code should be left to yourself ;-) Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From:

Re: [fw-general] Re: File upload problem:(

2010-03-18 Thread Thomas Weidner
uploaded to the directory specified before. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "venkatadry" To: Sent: Thursday, March 18, 2010 8:22 AM Subject: [fw-general] Re: File upload problem:( iam using

Re: [fw-general] Zend_Date

2010-03-08 Thread Thomas Weidner
Yes this is possible with Zend_Date. Mfg Thomas - Original Message - From: "water" To: "zend general" Sent: Monday, March 08, 2010 3:34 PM Subject: [fw-general] Zend_Date Is there a way to create a Zend_Date value, tell Zend_Date the value it is getting is UTC, and then specify a

Re: [fw-general] Zend_Locale overhead

2010-02-19 Thread Thomas Weidner
No, because Zend_Locale forces you to use a cache. You can select the overhead from loading locale infos by the time the cache is active. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "keith Pope"

Re: [fw-general] Re: Localization Format date helper.

2010-02-15 Thread Thomas Weidner
Then define the output you want... use toString()... Printing the object without giving recommendations does probably not use the format you want to have. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "wh

Re: [fw-general] Re: Zend_Translate with TMX: what's the proper usage?

2010-02-14 Thread Thomas Weidner
and brasil. No other languages have been done by the community for now. When other resources are translated by the community, then they should add the file to a new ticket so we can add it to trunk. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

Re: [fw-general] Re: Zend_Translate with TMX: what's the proper usage?

2010-02-13 Thread Thomas Weidner
x27;tmx', $file, $locale, array('useId' => false)); Then "Nachricht 1" will be used as message key instead of "0001". Note that this works only as with 1.10.2 (or trunk). Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

Re: [fw-general] File Element problem - getValue() returns null, but getFileName() returns full path and file?

2010-02-11 Thread Thomas Weidner
you already received the file. As said before you can't receive a file twice with 1.9.5. as it's then already moved. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Cameron" To: "Zend F

Re: [fw-general] File Element problem - getValue() returns null, but getFileName() returns full path and file?

2010-02-11 Thread Thomas Weidner
getValue() returns null when there is any error. So the question is which error is returned. When you say that isValid() returns not false, then the question is why receive() returns false. Look at it's error message to see details. Greetings Thomas Weidner, I18N Team Leader, Zend Fram

Re: [fw-general] File Element problem - getValue() returns null, but getFileName() returns full path and file?

2010-02-11 Thread Thomas Weidner
Question: You have already received the file by calling getValues() on the form. Why do you want to receive the file once again? A received file can not be received once again (not with 1.9.5). Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

Re: [fw-general] Alnum validation fails

2010-02-11 Thread Thomas Weidner
Looks like you're using different pcre settings. See if unicode is enabled or not. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "dmitrybelyakov" To: Sent: Thursday, February 11, 2010 1:40 AM Subje

Re: [fw-general] File Element problem - getValue() returns null, but getFileName() returns full path and file?

2010-02-11 Thread Thomas Weidner
Look if the value is disabled (isValueDisabled()). Per default is could be disabled for security reasons. And getValue() returns null when there is any error at validation or filtering on that file element. Therefor use always isValid(). Greetings Thomas Weidner, I18N Team Leader, Zend

Re: [fw-general] Zend_Locale weekday short

2010-01-27 Thread Thomas Weidner
27;, array('gregorian', 'format', 'wide')); and compute/use only the first 3 chars: iconv_substr($day, 0, 3, 'UTF-8') Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "takes

Re: [fw-general] Zend_Filter for visual output?

2010-01-21 Thread Thomas Weidner
The form itself can provide the original value. How should a filter return an "unfiltered" value on a already filtered input? There is no way for a filter to know what the original value was. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasw

Re: [fw-general] Zend_Date::isWeekend()

2010-01-20 Thread Thomas Weidner
Then use this information by comparing it with getWeekday(). Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "takeshin" To: Sent: Wednesday, January 20, 2010 7:45 PM Subject: Re: [fw-general] Zend_Date:

Re: [fw-general] Zend_Date::MONTH_NAME stand-alone

2010-01-20 Thread Thomas Weidner
"format" and not be displayed "stand-alone". Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "takeshin" To: Sent: Wednesday, January 20, 2010 7:01 PM Subject: [fw-general] Zend_Date::MONTH

Re: [fw-general] Zend_Date::isWeekend()

2010-01-20 Thread Thomas Weidner
What do you want to archive? And how do you define a "weekend"? Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "takeshin" To: Sent: Wednesday, January 20, 2010 6:51 PM Subject: [fw-general]

Re: [fw-general] StripTags changes in 1.10

2010-01-18 Thread Thomas Weidner
web or API doc. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "bmatzner" To: Sent: Monday, January 18, 2010 4:59 PM Subject: [fw-general] StripTags changes in 1.10 Hi, thanks to everyone who contribu

Re: [fw-general] Zend_Date & working with dates like '0000-00-00'

2010-01-18 Thread Thomas Weidner
he date you will get in return differs. And as said before dates are always corrected. So, when you select a month of "0" it's equal to "the last month one year ago" or "year-1, Month 12" Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://ww

Re: [fw-general] Zend_Date & working with dates like '0000-00-00'

2010-01-18 Thread Thomas Weidner
You can enter such dates within Zend_Date and there will be no failure. But Zend_Date will automatically correct this date and change it to Year 0, Month Jannuary - 1, Day First - 1 Which should lead so something like -01.December.31 00:00:00. Greetings Thomas Weidner, I18N Team Leader, Zend

Re: [fw-general] Zend Date

2010-01-15 Thread Thomas Weidner
In my understanding a validator validates input. It should and will never change input to be displayed in another format. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Mark Murphy" To: Sent: Friday,

Re: [fw-general] Check if an image exists on remote server

2010-01-15 Thread Thomas Weidner
Or simply use Zend_Validate_File_IsImage which is much saver than relying on client data. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "drm" To: "Nabble Zend Framework General" Sent: Friday,

[fw-general] Working with currencies

2010-01-06 Thread Thomas Weidner
to write international invoices you will probably be in need of these features. For more details feel free to read in my blog: http://www.thomasweidner.com/flatpress/2010/01/06/working-with-currencies/ Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

Re: [fw-general] Zend_Measure_Time and localization

2010-01-05 Thread Thomas Weidner
Zend_Measure supports localization. But what you are requesting is translation for which Zend_Translate should be used. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "takeshin" To: Sent: Tuesday, Januar

Re: [fw-general] ZF Coding Standards Code Sniffer?

2010-01-04 Thread Thomas Weidner
hat and made it fit in with my standards. Thx Thomas :) Always a pleasure I think Greg might be waiting for the ZF standard to be final from reading his comments. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

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

2010-01-01 Thread Thomas Weidner
It does before you call receive(). Afterwards the name of the file can not be the original name, because you already said to use the new name. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Peter Smit&

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

2010-01-01 Thread Thomas Weidner
Use getFileInfo() to retrieve the original file infos your client sent. This includes of course also the original filename. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Peter Smit" To: "Diego

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

2009-12-29 Thread Thomas Weidner
Attach the "Rename" file filter to the element. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Peter Smit" To: Sent: Wednesday, December 30, 2009 12:32 AM Subject: [fw-general] Random

Re: [fw-general] Zend_date set() having no effect

2009-12-22 Thread Thomas Weidner
e release you are using you could also do something like this: $startDate->set(array('hour' => 6, 'minute' => 0, 'second' => 0)); Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From:

Re: [fw-general] File Validate Documentation

2009-12-18 Thread Thomas Weidner
File validators are part of Zend_File_Transfer. Look into Zend_File's chapter for a description or use the search field from the online manual. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Diego Potap

Re: [fw-general] version number in Zend_Version

2009-12-18 Thread Thomas Weidner
Trunk always points to the next upcoming release. Use branch 1.9 instead when you want to use release 1.9 only. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Victor Farazdagi" To: Sent: Friday, December

Re: [fw-general] Sending Zend_Date using Zend_Soap

2009-12-17 Thread Thomas Weidner
use serializing or toArray Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Mark Hage" To: "Zend Framework General" Sent: Thursday, December 17, 2009 10:39 AM Subject: [fw-general] Sending Zend_

Re: [fw-general] There is no way to customize the validator messages?

2009-12-14 Thread Thomas Weidner
Because 1 string out of more than 200 is missing the complete manual useless ? This is ridiculous. You could also use the translation ressource. *sarcasm* Oh, sorry... 10 strings are marked as duplicated within the ressources so they are also useless. Greetings Thomas Weidner, I18N Team

Re: [fw-general] Caching translations

2009-12-13 Thread Thomas Weidner
When you look into the manual you will read that caching should always be done. Without caching I would select the adapter based on the usecase you have, but with caching all adapters have the same speed. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

Re: [fw-general] R: Re: [fw-general] Zend_Date first day of the week

2009-12-08 Thread Thomas Weidner
No it's not... simply read what was written before in this post. 0 is sunday for italy or united states. But it's not for egypt or oman for example. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: To: Sen

Re: [fw-general] Zend_Date first day of the week

2009-12-08 Thread Thomas Weidner
ust looking for sane defaults. As written before it's all available within Zend_Locale when you look at the token "week". And as mentioned in past the first day of week is NOT related to a language but to a region. So "en" would not work but "US" would.

Re: [fw-general] Zend_Date first day of the week

2009-12-07 Thread Thomas Weidner
n related/ local law related topic? For instance, see this article: http://www.cjvlang.com/Dow/SunMon.html It's a regional topic. For more informations look into unicodes database: http://unicode.org/cldr Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

Re: [fw-general] Zend_Date first day of the week

2009-12-07 Thread Thomas Weidner
mber.2009 is always monday regardless of the locale or if the used calendar format defines 0 to be sunday. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

Re: [fw-general] Working with dates (filter, view helper)

2009-12-07 Thread Thomas Weidner
- Original Message - From: "umpirsky" To: Sent: Monday, December 07, 2009 11:19 AM Subject: [fw-general] Working with dates (filter, view helper) Hi. I'm working with dates, date format in my database is standard mysql date type (YYY-MM-DD). I want view helper to format my dates a

Re: [fw-general] Zend_Date first day of the week

2009-12-07 Thread Thomas Weidner
$date->getWeekday(0); Note that NOT EVERY COUNTRY defines 0 to be sunday... it depends on the country if 0 is a sunday or another day. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "takeshin" To:

Re: [fw-general] Zend_Validate_NotEqual ?

2009-12-04 Thread Thomas Weidner
There is a Zend_Validate_Db_NoRecordExists which can check DB input. Or you could simply use if (!$validator->isValid($value)) { // whatever should be done } Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: &qu

Re: [fw-general] File Upload Progress

2009-12-03 Thread Thomas Weidner
Look into the demos directory. There are 2 demos shipped with ZF which show how file progress works. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Andrei Iarus" To: "Zend Framework" Sent: T

Re: [fw-general] Zend_Form_Element_File & Description decorator is different from all the others. Any Reason?

2009-11-23 Thread Thomas Weidner
e or Submit don't have a standard description decorator. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Colin Guthrie" To: Sent: Monday, November 23, 2009 6:33 PM Subject: [fw-general] Zend_For

Re: [fw-general] Problem with Zend_translate

2009-11-20 Thread Thomas Weidner
ou have to do. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "kusum" To: Sent: Friday, November 20, 2009 7:38 PM Subject: Re: [fw-general] Problem with Zend_translate Thanks to all the suggestions... I rea

Re: [fw-general] Problem with Zend_translate

2009-11-18 Thread Thomas Weidner
earch?hl=de&source=hp&q=Zend_Translate+Options&meta=&aq=f&oq= or read the forums. This question has been raised and answered several times in past. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: &quo

Re: [fw-general] Problem with Zend_translate

2009-11-18 Thread Thomas Weidner
x27;, Array, 'en_US', Array) #6 C:\wamp\www\photoshop\library\Zend\Application\Resource\Tra in C:\wamp\www\photoshop\library\Zend\Translate\Adapter\Gettext.php on line 85 I am not getting the reason of the problem.:confused: Wrong parameter usage, see above Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

[fw-general] I18N Webinar

2009-11-14 Thread Thomas Weidner
hear in this webinar ? Don't be shy and just reply :-) Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com

Re: [fw-general] Zend_Date problem

2009-11-11 Thread Thomas Weidner
(toString(Zend_Date::DATES))? Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Саша Стаменковић" To: "Thomas Weidner" Cc: Sent: Wednesday, November 11, 2009 9:44 AM Subject: Re: [fw-general] Zend_Da

Re: [fw-general] Zend_Date problem

2009-11-11 Thread Thomas Weidner
do is prediction. And using your code on both locales I get: sr_RS: string '2009-10-22T10:01:36+02:00' (length=25) en_GB:string '2009-10-22T10:01:36+02:00' (length=25) Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message -

Re: [fw-general] Zend_Date problem

2009-11-10 Thread Thomas Weidner
itial informations ? Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Саша Стаменковић" To: "kobsu" Cc: Sent: Wednesday, November 11, 2009 7:59 AM Subject: Re: [fw-general] Zend_Date

Re: [fw-general] Zend_Date problem

2009-11-10 Thread Thomas Weidner
Timezone ? Mfg Thomas - Original Message - From: "umpirsky" To: Sent: Tuesday, November 10, 2009 2:23 PM Subject: [fw-general] Zend_Date problem Hi zf community. This code: $date = new Zend_Date(null, null, $locale); $date->setTimestamp(1256198496); echo $date->getDate()->toStr

Re: [fw-general] File upload problem:(

2009-11-04 Thread Thomas Weidner
g it. When you need this then use the MimeType Validator. Note that JPEG Pictures can have multiple mime variants and you limited to only one. The mimetype is "image/jpeg" and not "jpeg" Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com --

Re: [fw-general] File upload problem:(

2009-11-04 Thread Thomas Weidner
You should not limit the IsImage valdator when using it. When you need this then use the MimeType Validator. Note that JPEG Pictures can have multiple mime variants and you limited to only one. The mimetype is "image/jpeg" and not "jpeg" Greetings Thomas Weidner, I1

Re: [fw-general] File upload problem:(

2009-11-04 Thread Thomas Weidner
Look here for details to the openbase_dir directive: http://php.net/manual/en/ini.sect.safe-mode.php Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "robos85" To: Sent: Wednesday, November 04, 2009 6:37

Re: [fw-general] date format Zend vs PHP

2009-10-22 Thread Thomas Weidner
Please read the manual carefully. Zend_Date supports both standards. ISO is default but you can also use the old GNU standard. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "PHPScriptor" To: Sent

Re: [fw-general] Zend_Form_Element_File and Subforms with array notation

2009-10-18 Thread Thomas Weidner
n the main form. " Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Abraham Block" To: "Zend Framework General" Sent: Sunday, October 18, 2009 7:08 AM Subject: [fw-general] Zend_Form_Elemen

Re: [fw-general] Zend_Measure undesired rounding when converting values

2009-10-14 Thread Thomas Weidner
weeks ago) 3.) Wait for the next minor release Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "J DeBord" To: "fw-general" Sent: Wednesday, October 14, 2009 2:55 PM Subject: [fw-general] Zend_Measur

Re: [fw-general] User uploads file bigger than what's allowed in php.ini, can it be caught?

2009-10-12 Thread Thomas Weidner
There was no further response because it's no issue with the actual release. There is already a workaround for this PHP bug integrated within ZF. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Ryan Lange&qu

Re: [fw-general] Zend_Translate & addTranslation

2009-10-09 Thread Thomas Weidner
As I said before: I expect that the file 'c:/www/application/languages' does not exist or is no CSV file, which is the reason you get this notice. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "igna

Re: [fw-general] Zend_Translate & addTranslation

2009-10-09 Thread Thomas Weidner
I expect that the file "directory" does not exist, whereas the file "en.csv" does. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Ignace Knops" To: "Thomas Weidner" Sent:

Re: [fw-general] Zend_Translate & addTranslation

2009-10-07 Thread Thomas Weidner
hen the directory or filename does not reflect this. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "ignace" To: Sent: Wednesday, October 07, 2009 7:42 PM Subject: [fw-general] Zend_Translate & addTra

Re: [fw-general] Get localised values in another locale

2009-09-28 Thread Thomas Weidner
;en_US'); Or use Zend_Date... input from cz_CZ and output to en_US. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "WebCorp s.r.o. | Jan Juříček" To: Sent: Monday, September 28, 2009 8:44 AM Subject: [fw-gen

Re: [fw-general] Date validator changes or bug ?

2009-09-21 Thread Thomas Weidner
message was not set because the false key was used. To prevent this problematic case we unified these two messages (which were 90% identical) and added a note into the migration chapter. So simply change NOT-MM-DD to FALSEFORMAT. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http

Re: [fw-general] list of validators in Zend like in Symfony Framework

2009-09-19 Thread Thomas Weidner
Why don't you simply search the documentation ? A search for "validator" would have given you "Zend_Validate" and 2-4 sections about validators. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From

Re: [fw-general] SpiffyCalendar for the Zend Framework

2009-09-16 Thread Thomas Weidner
ar systems, directly to Zend_Date (rework for 2.0). Any other Zend_Calendar author can then take advantage of this directly through using Zend_Date. (For example converting from a gregorian date to a chinese date). Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasw

Re: [fw-general] Zend_Form File Element / Decorator - Extremely Confuzzled

2009-09-09 Thread Thomas Weidner
Take a look into the FAQ where the problem, the reason and the solution is described: http://framework.zend.com/wiki/display/ZFFAQ/Forms Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Jayawi" To: Sent:

Re: [fw-general] Zend_Validate::is() runs constructor with wrong parameters

2009-09-08 Thread Thomas Weidner
an example how you called Zend_Validate::is() we can only guess. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "Dennis Becker" To: "Zend Framework General" Sent: Tuesday, September 08

Re: [fw-general] Unit testing components that work with file upload

2009-09-05 Thread Thomas Weidner
Such tests can only be done indirect. Simply look into ZF's own testbed. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: "mbneto" To: Sent: Saturday, September 05, 2009 12:16 AM Subject: [fw-genera

Re: [fw-general] Zend_Filter_Input and EscapeFilter

2009-09-04 Thread Thomas Weidner
I don't understand... You don't want to have escaped values, but you also don't want to have unescaped values ? Do you want to have any value ??? What do you precisly want ? Maybe it would be more clear when you give an example. Greetings Thomas Weidner, I18N Team Leader, Zend

  1   2   3   4   5   6   7   8   >