class DB_row in Flickr API 5
PEAR DB Row Object
The object contains a row of data from a result set. Each column's data is placed in a property named for the column.
@category Database @package DB @author Stig Bakken <ssb@php.net> @copyright 1997-2005 The PHP Group @license http://www.php.net/license/3_0.txt PHP License 3.0 @version Release: @package_version@ @link http://pear.php.net/package/DB
Hierarchy
- class \DB_row
Expanded class hierarchy of DB_row
See also
File
- phpFlickr/
PEAR/ DB.php, line 1357
View source
class DB_row {
// {{{ constructor
/**
* The constructor places a row's data into properties of this object
*
* @param array the array containing the row's data
*
* @return void
*/
function DB_row(&$arr) {
foreach ($arr as $key => $value) {
$this->{$key} =& $arr[$key];
}
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DB_row:: |
function | The constructor places a row's data into properties of this object |