public function setAttribute($name, $value) { if ($this->_pdo instanceof PDO) { $this->_pdo->setAttribute($name, $value); } else { $this->_attributes[$name] = $value; } }