cvs: pearweb /include pear-database.php

From: Date: Sun, 08 Jun 2003 21:56:33 +0000
Subject: cvs: pearweb /include pear-database.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-10780@lists.php.net to get a copy of this message
mj Sun Jun 8 17:56:33 2003 EDT Modified files: /pearweb/include pear-database.php Log: * Add user::listAll Index: pearweb/include/pear-database.php diff -u pearweb/include/pear-database.php:1.121 pearweb/include/pear-database.php:1.122 --- pearweb/include/pear-database.php:1.121 Tue Apr 15 15:03:27 2003 +++ pearweb/include/pear-database.php Sun Jun 8 17:56:33 2003 @@ -17,7 +17,7 @@ | Tomas V.V.Cox <cox@php.net> | | Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: pear-database.php,v 1.121 2003/04/15 19:03:27 mj Exp $ + $Id: pear-database.php,v 1.122 2003/06/08 21:56:33 mj Exp $ */ require_once 'DB/storage.php'; @@ -1623,6 +1623,15 @@ } // }}} + // {{{ listAll() + + function listAll() + { + global $dbh; + return $dbh->getAll("SELECT * FROM users ORDER BY handle", + null, DB_FETCHMODE_ASSOC); + } + } class statistics

« previous php.pear.cvs (#10780) next »