Source for file Object.php
Documentation is available at Object.php
// +----------------------------------------------------------------------+
// +----------------------------------------------------------------------+
// | Copyright (c) 1997-2003 The PHP Group |
// +----------------------------------------------------------------------+
// | This source file is subject to version 2.02 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is |
// | available at through the world-wide-web at |
// | http://www.php.net/license/2_02.txt. |
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | license@php.net so we can mail you a copy immediately. |
// +----------------------------------------------------------------------+
// | Author: Roman Dostovalov, Com-tec-so S.A.<roman.dostovalov@ctco.lv> |
// +----------------------------------------------------------------------+
// $Id: Object.php,v 1.1 2004/04/27 23:49:45 quipo Exp $
require_once 'MDB/QueryTool/Result.php';
// ------------------------------------------------------------------------
class MDB_QueryTool_Result_Row
* create object properties from the array
function MDB_QueryTool_Result_Row ($arr)
foreach ($arr as $key => $value) {
// ------------------------------------------------------------------------
* @author Roman Dostovalov <roman.dostovalov@ctco.lv>
* This function emulates PEAR::MDB fetchRow() method
* With this function MDB_QueryTool can transparently replace PEAR::MDB
* @todo implement fetchmode support?
if (!PEAR ::isError ($arr)) {
$row = new MDB_QueryTool_Result_Row ($arr);
Documentation generated on Mon, 11 Mar 2019 13:57:13 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|