function DB_result::setOption in Flickr API 5
Set options for the DB_result object
Parameters
string $key the option to set:
mixed $value the value to set the option to:
Return value
void
1 call to DB_result::setOption()
- DB_result::DB_result in phpFlickr/
PEAR/ DB.php - This constructor sets the object's properties
File
- phpFlickr/
PEAR/ DB.php, line 1041
Class
- DB_result
- This class implements a wrapper for a DB result set
Code
function setOption($key, $value = null) {
switch ($key) {
case 'limit_from':
$this->limit_from = $value;
break;
case 'limit_count':
$this->limit_count = $value;
}
}