public function getAttribute($name) { if ($this->getActive()) { return $this->_pdo->getAttribute($name); } else { throw new TDbException('dbconnection_connection_inactive'); } }