You are here

function DB_storage::get in Flickr API 5

Fetch an attribute value.

Parameters

string attribute name:

Return value

attribute contents, or null if the attribute name is unknown

File

phpFlickr/PEAR/DB/storage.php, line 410

Class

DB_storage
Provides an object interface to a table row

Code

function &get($property) {

  // only return if $property is known
  if (isset($this->_properties[$property])) {
    return $this->{$property};
  }
  $tmp = null;
  return $tmp;
}