Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 402 and 403]

Base ODBC driver

Copyright: 2000-2013 John Lim
Copyright: 2014 Damien Regad, Mark Newnham and the ADOdb community
License: BSD-3-Clause
License: LGPL-2.1-or-later
File Size: 734 lines (19 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 classes

ADODB_odbc:: (21 methods):
  __construct()
  _connect()
  _pconnect()
  ServerInfo()
  CreateSequence()
  DropSequence()
  GenID()
  ErrorMsg()
  ErrorNo()
  BeginTrans()
  CommitTrans()
  RollbackTrans()
  MetaPrimaryKeys()
  MetaTables()
  ODBCTypes()
  MetaColumns()
  Prepare()
  _query()
  UpdateBlob()
  _close()
  _affectedrows()

Name:: (0 methods):

ADORecordSet_odbc:: (9 methods):
  __construct()
  FetchField()
  Fields()
  _initrs()
  _seek()
  GetArrayLimit()
  MoveNext()
  _fetch()
  _close()


Class: ADODB_odbc  - X-Ref

__construct()   X-Ref
No description

_connect($argDSN, $argUsername, $argPassword, $argDatabasename)   X-Ref
No description

_pconnect($argDSN, $argUsername, $argPassword, $argDatabasename)   X-Ref
No description

ServerInfo()   X-Ref
No description

CreateSequence($seqname='adodbseq',$start=1)   X-Ref
No description

DropSequence($seqname = 'adodbseq')   X-Ref
No description

GenID($seq='adodbseq',$start=1)   X-Ref
No description

ErrorMsg()   X-Ref
No description

ErrorNo()   X-Ref
No description

BeginTrans()   X-Ref
No description

CommitTrans($ok=true)   X-Ref
No description

RollbackTrans()   X-Ref
No description

MetaPrimaryKeys($table,$owner=false)   X-Ref
No description

MetaTables($ttype=false,$showSchema=false,$mask=false)   X-Ref
No description

ODBCTypes($t)   X-Ref
No description

MetaColumns($table, $normalize=true)   X-Ref
No description

Prepare($sql)   X-Ref
No description

_query($sql,$inputarr=false)   X-Ref
No description

UpdateBlob($table,$column,$val,$where,$blobtype='BLOB')   X-Ref
No description

_close()   X-Ref
No description

_affectedrows()   X-Ref
No description

Class: Name  - X-Ref

Class: ADORecordSet_odbc  - X-Ref

__construct($id,$mode=false)   X-Ref
No description

FetchField($fieldOffset = -1)   X-Ref
No description

Fields($colname)   X-Ref
No description

_initrs()   X-Ref
No description

_seek($row)   X-Ref
No description

GetArrayLimit($nrows,$offset=-1)   X-Ref
No description

MoveNext()   X-Ref
No description

_fetch()   X-Ref
No description

_close()   X-Ref
No description