[Phpmyadmin-devel] [Phpmyadmin-svn] SF.net SVN: phpmyadmin: [10448] trunk/phpMyAdmin/libraries/List_Database. class.php

Sebastian Mendel lists at sebastianmendel.de
Tue Jun 19 10:34:01 CEST 2007


lem9 at 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




More information about the Developers mailing list