function PEAR::popErrorHandling in Flickr API 5
Pop the last error handler used
Return value
bool Always true
See also
PEAR::pushErrorHandling
2 calls to PEAR::popErrorHandling()
- DB_mysql::nextId in phpFlickr/
PEAR/ DB/ mysql.php - Returns the next free id in a sequence
- DB_pgsql::nextId in phpFlickr/
PEAR/ DB/ pgsql.php - Returns the next free id in a sequence
File
- phpFlickr/
PEAR/ PEAR.php, line 716
Class
- PEAR
- Base class for other PEAR classes. Provides rudimentary emulation of destructors.
Code
function popErrorHandling() {
$stack =& $GLOBALS['_PEAR_error_handler_stack'];
array_pop($stack);
list($mode, $options) = $stack[sizeof($stack) - 1];
array_pop($stack);
if (isset($this) && is_a($this, 'PEAR')) {
$this
->setErrorHandling($mode, $options);
}
else {
PEAR::setErrorHandling($mode, $options);
}
return true;
}