function DB_common::__toString in Flickr API 5
Automatic string conversion for PHP 5
@since Method available since Release 1.7.0
Return value
string a string describing the current PEAR DB object
1 call to DB_common::__toString()
- DB_common::toString in phpFlickr/
PEAR/ DB/ common.php - DEPRECATED: String conversion method
File
- phpFlickr/
PEAR/ DB/ common.php, line 205
Class
- DB_common
- DB_common is the base class from which each database driver class extends
Code
function __toString() {
$info = strtolower(get_class($this));
$info .= ': (phptype=' . $this->phptype . ', dbsyntax=' . $this->dbsyntax . ')';
if ($this->connection) {
$info .= ' [connected]';
}
return $info;
}