lem9@users.sourceforge.net schrieb:
Revision: 10448 http://svn.sourceforge.net/phpmyadmin/?rev=10448&view=rev Author: lem9 Date: 2007-06-18 09:36:41 -0700 (Mon, 18 Jun 2007)
Log Message:
do not use getItems() in this case
[...]
foreach ($this->getItems() as $key => $db) {
foreach ($this->items as $key => $db) {
what is the favor doing this? i do not think that you will save any memory or time (PHP copies variable content only on change in one of the variable copies)
also, possible we could use getItems($count, $offset = 0)
Sebastian Mendel a écrit :
lem9@users.sourceforge.net schrieb:
Revision: 10448 http://svn.sourceforge.net/phpmyadmin/?rev=10448&view=rev Author: lem9 Date: 2007-06-18 09:36:41 -0700 (Mon, 18 Jun 2007)
Log Message:
do not use getItems() in this case
[...]
foreach ($this->getItems() as $key => $db) {
foreach ($this->items as $key => $db) {
what is the favor doing this? i do not think that you will save any memory or time (PHP copies variable content only on change in one of the variable copies)
also, possible we could use getItems($count, $offset = 0)
I'm using $this->items because in some cases, the count and offset are not initialized.
Marc