public getAttribute ( $name ) : mixed | ||
return | mixed | the corresponding attribute information |
public function getAttribute($name)
{
if ($this->getActive()) {
return $this->_pdo->getAttribute($name);
} else {
throw new TDbException('dbconnection_connection_inactive');
}
}