See: http://php.net/manual/en/language.oop5.cloning.php
Le 16/07/2010 16:46, Mark Hage a écrit :
Hi,
How can I copy an object from a Zend_Session_Namespace?
My code now:
$session = new Zend_Session_Namespace('customer');
$oldCustomer = $session->customer;
But when I assign a new value to eg.
See:
http://www.php.net/manual/en/arrayobject.ksort.php
On 06/07/2010 02:12 PM, Bart McLeod wrote:
You may be right, this is on a newly installed vps, where they
installed a smaller version then I had asked for. 5.1.6 I think. I will
check against 5.3, yes, that seems to work as usual.
I think you missed the "Framework" in "Zend Framwork".
On 05/25/2010 02:41 PM, Bruno Galindro da Costa wrote:
Hi all,
Is there any admin interface like "Django Admin Interface"
(http://docs.djangoproject.com/en/dev/ref/contrib/admin/) in Zend
Framework?
--
Att.
Bruno Galindro da Costa
b
AFAIK, the search function never returned anything to me... whatever the
language.
http://framework.zend.com/manual/search?query=Zend_Locale&language=en&version=1.10
Regards,
-- Nicolas
Andrew Ballard wrote:
About 11 months ago I posted an observation that searching the manual
with the languag
ernational keyboards. We had to change Zend Framework's format for
this too.
Regards,
-- Nicolas Grevet
Саша Стаменковић wrote:
Thanks man.
I'll go with extending my own format HH:mm since "%H.%M.%S" is really
silly format for time, especially when date have same forma
since you can handle most of the work through the router and a few
checks here and there.
Regards,
-- Nicolas Grevet
Sergio Rinaudo wrote:
Hi,
from my point of view 'admin' is a module.
In this discussion
*http://zend-framework-community.634137.n4.nabble.com/ZF1-8-Switching-layou
Please, read the documentation:
http://framework.zend.com/manual/en/zend.date.constants.html
He's saying that you're not even using the correct date format.
nisanth wrote:
No i only need to calculate the difference I have the Zend_Date object
..
Most of us relied on this "bug" because it was there. It seemed pretty
cool that the findManyToManyRowset() could return the intersecting
fields without any other form of manual SQL or joins. It really looked
like a feature since it was there prior to 1.8 or even 1.7. And I'm not
sure the docum
Seeing the lack of interest our problem seems to raise, I guess that
either no one cares at all or no one ever used the intersecting fields
on a many to many relationship with ZF (makes me wonder which one is the
worst case scenario).
Jurian Sluiman wrote:
I came upon this issue as well. I hav
Hello,
On the 19th of February, Ralph commited a modification of the
Zend_Db_Table behavior. Seems like they arbitrary decided that
Zend_Db_Table_Row::findManyToManyRowset() would not return the fields of
the intersection table anymore. While I can understand why (name
collision), our system
Zend_Form_Element_Text results in
Zend_Locale_FormatisNumber() returning FALSE .
Regards,
- Nicolas Grevet
Nicolas Grevet wrote:
This is unrelated. The framework allows us to do it, if we want to use
it, we'll use it. The problem is more with the fact that you can't use
non
pace as a
separator. The problem is more with the fact that you can't input either
8000 or 8 000. Just 8(\xA0)000.
Regards,
- Nicolas Grevet
Hector Virgen wrote:
I might be wrong, but I don't think a user-inputted string of
"8[space]000" is considered an Integer. In order t
27;u' modifier. At
least, adding the 'u' modifier makes it work like a charm.
So basically, you can't use integers in french.
What are we supposed to do?
I filed an issue there:
http://framework.zend.com/issues/browse/ZF-9242
Regards,
- Nicolas Grevet
By the way, some Apache configurations already include the REQUEST_MICROTIME
parameter
Errr... I mean, REQUEST_TIME.
Regards,
- Nicolas
Nicolas Grevet wrote:
[...] but a simple timer could be build as a
Zend_Controller_Plugin where in the routeStartup() you set a parameter
to the value of
[...] but a simple timer could be build as a
Zend_Controller_Plugin where in the routeStartup() you set a parameter
to the value of microtime and then at the end of your layout, subtract
the value from routeStartup() from the current value of microtime().
Yeah, except that the routeStartup() is
I guess this was the interesting part:
In terms of the general use cases [...] you will see no discernible difference.
Regards,
- Nicolas
Саша Стаменковић wrote:
So, which one is better in terms of performances?
Regards,
Saša Stamenković
On Thu, Feb 18, 2010 at 7:37 PM, Ralph Schindler
Ok, found the issue, there's a bug on line 103 of Zend_Currency.
Filed an issue there: http://framework.zend.com/issues/browse/ZF-9181
- Nicolas
Nicolas Grevet wrote:
Hello,
In our project, we're using Zend_Currency to handle prices, but so far,
we've been unable to make it
Hello,
In our project, we're using Zend_Currency to handle prices, but so far,
we've been unable to make it work. Even the simplest example from the
documentation throws an error:
This one works:
new Zend_Currency(
array('value' => 100)
);
This one fails:
new Zend_Currency(
array('va
If only the world was this beautiful, it would be great. When full UTF-8
support will be implemented in PHP and that more than a third of the
language functions will supprot it, then we'll consider switching to UTF-8.
The last project I had to develop with UTF-8, oh god... working with
file im
Yeah, that's what we did.
But it would be great if Zend_Json_Encoder could automate the process.
Auto-encode in the encoder, auto-decode in the decoder. But well,
there's much more important things to do for the moment.
Dmitry Dulepov a écrit :
Hi!
On 4 Feb 2010, at 11:03, Nico
We have the same problem in french, we're using ISO/IEC 8859-15. By the
way, I've yet to hear about a way to change string encoding in javascript.
Dmitry Dulepov a écrit :
Hi!
On 4 Feb 2010, at 10:47, drm wrote:
You should fix this on the JS side. The ajax post is apparently being encoded
in
Also, as far as I can remember, mb_list_encodings() is an horrible
performance clogger. On my last project, it was accounted for more than
75% of the pages loading time. It might not have been used in the same
context, though, but I sure hope you know what you're doing when
implementing things
This is already covered here:
http://framework.zend.com/manual/1.10/en/migration.110.html
Cheers,
-- Nicolas
Colin Guthrie a écrit :
Hi,
Just a small word of warning for those users using the error controller
to take appropriate action.
Previously (1.9.7) either EXCEPTION_NO_CONTROLLER or EX
You may need to reconsider using short.ie
MDB2 Error: connect failed
It might disappear when the US wake up, though.
Regards,
-- Nicolas Grevet
Matthew Weier O'Phinney a écrit :
Hey, all --
I'm giving a webinar on Zend_Form decorators tomorrow at 12pm EST:
http://short
Hmm, well, I'm not part of the project, I'm just using the trunk in my
project. I highly doubt I can anonymously commit on the ZF repository,
or am I wrong?
-- Nicolas Grevet
Bart McLeod a écrit :
Nicolas GREVET schreef:
Hi everyone,
I guess something went wrong during the last
Hi everyone,
I guess something went wrong during the last commit of 'Thomas' (number
19457) on Zend_Translate. The Zend/Translate/Adapter/Xliff was commited
with a var_dump($this->_data) on line 92. Could someone tell him?
Regards,
-- Nicolas Grevet
26 matches
Mail list logo