Hy Yann,
chaining would make no sense for Zend_Date.
Most methods return a textual date or date value.
And setTimezone which you wrote in your example is even not member of
Zend_Date but of it's SuperClass.
It would not be possible to return the actual Zend_Date with this method.
But there are a few methods which do return a date object for example all
detail functions like
getDate, setDate, addDate, subDate, and others.
Greetings
Thomas
----- Original Message -----
From: "Yann Nave" <[EMAIL PROTECTED]>
To: "Zend Framework General" <[email protected]>
Sent: Saturday, October 06, 2007 3:44 PM
Subject: [fw-general] Zend_Date chaining methods
Is there some issue to have chaining methods in Zend_Date ?
Like :
$date = new Zend_date;
$date->set()->setTimezone();
etc..
--
Yannux
http://blog.onbebop.net