Re: [fw-general] website update - national flags vs. languages

2006-11-18 Thread Bill Karwin
Thanks everyone for the suggestions and help on this task. I had some time to deploy changes to the sidebar with links to manual translations. To keep the list looking nice and tidy, I just used the native language for the link text. The English names for languages are in the title attribute o

Re: [fw-general] bug with Zend_Http_Request

2006-11-18 Thread Jacky Chen
Hi,Matthew you just corrected the *$count($segs)* bug.And the bug with the methods of Zend_Http_Request hasn't corrected yet. */** * Base URL of request * @var string */ protected $_baseUrl = ''; * */** * Base path of request * @var string */ protected $_ba

Re: [fw-general] bug with Zend_Http_Request

2006-11-18 Thread Matthew Weier O'Phinney
-- ?? <[EMAIL PROTECTED]> wrote (on Saturday, 18 November 2006, 10:10 AM +0800): > In Zend_Http_Request code line 337 , $count($segs) should be count($segs). > And the attributes $_baseUrl,$_basePath and $_pathInfo initial value is ''. > But > the method getBaseUrl(),getBasePath() and getPath

Re: [fw-general] How to pass Zend_Table or row type as parameter to a function

2006-11-18 Thread Waldemar Schott
Hi Fouzia, do you mean an action in a controller? When so you can assign the object to a class-member an then retriev it in another action. For a custom function you have only to create a parameter in its declaration. But that's PHP-Basic. Greetings Waldemar Fouzia Usman schrieb: Hi, I w

[fw-general] How to pass Zend_Table or row type as parameter to a function

2006-11-18 Thread Fouzia Usman
Hi, I would like to know how i can pass a Zend table or row object as a parameter to a function. For ex: class RoundTable extends Zend_Db_Table {} $table = new RoundTable(); // fetch a record from the table as a Zend_Db_Table_Row object $row = $table->fetchRow('first_name = "Robin"');

Re: [fw-general] Fluent interfaces for Zend_Mail

2006-11-18 Thread Nico Edtinger
You could get the attachment via getParts() as Zend_Mail extends Zend_Mime_Message. But I also think that's not a really easy way to do it. I think it would be nice if that could be added to the library directly instead of incubator, as it doesn't/shouldn't hurt. So I've created a task: h

Re: [fw-general] Fluent interfaces for Zend_Mail

2006-11-18 Thread Matthew Ratzloff
As long as you don't do it for addAttachment() I think it's a good idea, since there's no easy way to get at the attachment without a return value (to set the filename, content type, etc.). -Matt - Original Message - From: "Nico Edtinger" <[EMAIL PROTECTED]> To: "Waldemar Schott" <[E

Re: [fw-general] Fluent interfaces for Zend_Mail

2006-11-18 Thread Nico Edtinger
In general this shouldn't be a problem. But setBodyText() and setBodyHtml() both return the Zend_Mime_Part instance. If someone needs this he could of course also use getBodyText() and getBodyHtml(). Does someone use the return value of these two set methods? Otherwise I'll checkin Zend_Mai

[fw-general] Fluent interfaces for Zend_Mail

2006-11-18 Thread Waldemar Schott
Hello, I think it would be nice if Zend_Mail supports fluent interfaces like other parts of the framework. Current usage: http://framework.zend.com/manual/en/zend.mail.html |$mail = new Zend_Mail(); $mail->setBodyText('This is the text of the mail.') ->setFrom('[EMAIL PROTECTED]', 'Some Se

Re: [fw-general] Zend_Filter :alpha

2006-11-18 Thread Lars Strojny
Am Samstag, den 18.11.2006, 15:14 +0100 schrieb Thomas Weidner: [...] > // example code > public function getAlpha($name, $locale = false) { > $characters = 'a-z'; > if ($locale ! = = false) { > $characters = Zend_Locale_Data::getContent($locale, 'characters'); > } > preg_ma

Re: [fw-general] Zend_Filter :alpha

2006-11-18 Thread Thomas Weidner
Hi, Making 126 subclasses, one for every language, is a very bad design idea. From the first look, yes, but from the second view maybe not. These classes would be very, very small. Making Zend_Filter locale aware is pretty hard to reach. You will have a big switch ... case-statement in every

Re: [fw-general] Zend_Filter :alpha

2006-11-18 Thread Thomas Weidner
Hy, Using getAlpha( $name ) is no good - it won't recognise, for example François getAlpha( $name, $locale ) is no good because we have no idea ahead of time which locale is appropriate. Would it not be better to have getAlpha( $name ) be inclusive of all alpha characters, and have the l

Re: [fw-general] Zend_Filter :alpha

2006-11-18 Thread Lars Strojny
Hi, Am Samstag, den 18.11.2006, 13:58 +0100 schrieb Thomas Weidner: [...] > Making 126 subclasses, one for every language, is a very bad design idea. From the first look, yes, but from the second view maybe not. These classes would be very, very small. Making Zend_Filter locale aware is pretty ha

Re: [fw-general] Zend_Filter :alpha

2006-11-18 Thread Mat Scales
Hi all, A think a point has been missed about filtering. One of the sites my company has worked on sells holidays in Europe. They get a lot of customers from all around the world and so we get people entering their names with 'funny' characters in all the time. One of the items that they s

Re: [fw-general] website update - national flags vs. languages

2006-11-18 Thread Thomas Weidner
Hy, On a related issue: How hard would it be to get the Arabic version to have right-to-left paragraph direction? I thought shreef already made the used changes to the docu ??? He also wrote an description within the wiki how to do this yourself. Greetings Thomas

Re: [fw-general] Zend_Filter :alpha

2006-11-18 Thread Thomas Weidner
Hy, Maybe we must rethink the whole filtering thingy. I would propose to split out the locale-dependant filters from Zend_Filter and put them into - let's say - Zend_Locale_Filter. Zend_Locale_Filter has a lot of subclasses, for instance Zend_Locale_Filter_German, Zend_Locale_Filter_English, Z

Re: [fw-general] website update - national flags vs. languages

2006-11-18 Thread Shahar Evron
On a related issue: How hard would it be to get the Arabic version to have right-to-left paragraph direction? This of course also applies if we had Hebrew and Farsi (and Thai I think...) translations in the future. Shahar. Darby Felton wrote: Hi all, This is just a quick note to let ever

[fw-general] [zend_log] Limit log file size

2006-11-18 Thread Shekar C Reddy
We need an option to limit the file-size to keep it under: http://framework.zend.com/issues/browse/ZF-563 TIA

Re: [fw-general] Zend_Filter :alpha

2006-11-18 Thread Lars Strojny
Hi all, Am Freitag, den 17.11.2006, 18:11 +0100 schrieb Thomas Weidner: > > Also relevant to an implementation of Zend_Filter::getAlpha(): > > http://framework.zend.com/issues/browse/ZF-550 > > 1.) Not all languages seemed to be supported > 2.) Performance problems if used in standard... should