CVS update: /cowiki/includes/cowiki/class/dao/
[email protected] 3 May 2005 01:46:02 -0000
| Newsgroups | gmane.comp.php.cowiki.cvs |
|---|---|
| Message-ID | <[email protected]> |
User: dgorski Date: 2005/05/02 18:46:02 Modified: cowiki/includes/cowiki/class/dao/class.StorageMySQLi.php Log: Introduced derived fetchRow() File Changes: Directory: /cowiki/includes/cowiki/class/dao/ ============================================= File [changed]: class.StorageMySQLi.php Url: http://cowiki.tigris.org/source/browse/cowiki/includes/cowiki/class/dao/class.StorageMySQLi.php?r1=1.12&r2=1.13 Delta lines: +22 -2 -------------------- --- class.StorageMySQLi.php 3 May 2005 01:02:35 -0000 1.12 +++ class.StorageMySQLi.php 3 May 2005 01:46:00 -0000 1.13 @@ -2,7 +2,7 @@ /** * - * $Id: class.StorageMySQLi.php,v 1.12 2005/05/03 01:02:35 dgorski Exp $ + * $Id: class.StorageMySQLi.php,v 1.13 2005/05/03 01:46:00 dgorski Exp $ * * This file is part of coWiki. coWiki is free software under the terms of * the GNU General Public License (GPL). Read the LICENSE file. If you did @@ -17,7 +17,7 @@ * @author Daniel T. Gorski, <[email protected]> * @copyright (C) Daniel T. Gorski, {@link http://www.develnet.org} * @license http://www.gnu.org/licenses/gpl.html - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ * */ @@ -193,6 +193,26 @@ */ public function fetchArray($nQueryId) { return @mysqli_fetch_assoc($nQueryId); + } + + // -------------------------------------------------------------------- + + /** + * Fetch row + * + * @access public + * @param integer + * @return array + * + * @author Daniel T. Gorski, <[email protected]> + * @since coWiki 0.4.0 + * + * @todo [D11N] Check description + * @todo [D11N] Check the parameter type of "$nQueryId" + * @todo [D11N] Check return type + */ + public function fetchRow($nQueryId) { + return @mysqli_fetch_row($nQueryId); } // --------------------------------------------------------------------