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 400 and 402] [Versions 401 and 402]

ODBTP driver

Author: stefan bogdan <sbogdan@rsb.ro>
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: 834 lines (24 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 7 classes

ADODB_odbtp:: (28 methods):
  ServerInfo()
  ErrorMsg()
  ErrorNo()
  _insertID()
  _affectedrows()
  CreateSequence()
  DropSequence()
  GenID()
  _connect()
  _pconnect()
  SelectDB()
  MetaTables()
  MetaColumns()
  MetaPrimaryKeys()
  metaForeignKeys()
  BeginTrans()
  CommitTrans()
  RollbackTrans()
  SelectLimit()
  Prepare()
  PrepareSP()
  Parameter()
  UpdateBlob()
  MetaIndexes()
  MetaIndexes_mssql()
  IfNull()
  _query()
  _close()

ADORecordSet_odbtp:: (11 methods):
  __construct()
  _initrs()
  FetchField()
  _seek()
  fields()
  _fetch_odbtp()
  _fetch()
  MoveFirst()
  MoveLast()
  NextRecordSet()
  _close()

ADORecordSet_odbtp_mssql:: (0 methods):

ADORecordSet_odbtp_access:: (0 methods):

ADORecordSet_odbtp_vfp:: (0 methods):

ADORecordSet_odbtp_oci8:: (0 methods):

ADORecordSet_odbtp_sybase:: (0 methods):


Class: ADODB_odbtp  - X-Ref

ServerInfo()   X-Ref
No description

ErrorMsg()   X-Ref
No description

ErrorNo()   X-Ref
No description

_insertID($table = '', $column = '')   X-Ref
No description

_affectedrows()   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

_connect($HostOrInterface, $UserOrDSN='', $argPassword='', $argDatabase='')   X-Ref
No description

_pconnect($HostOrInterface, $UserOrDSN='', $argPassword='', $argDatabase='')   X-Ref
No description

SelectDB($dbName)   X-Ref
No description

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

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

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

metaForeignKeys($table, $owner = '', $upper = false, $associative = false)   X-Ref
No description

BeginTrans()   X-Ref
No description

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

RollbackTrans()   X-Ref
No description

SelectLimit($sql,$nrows=-1,$offset=-1, $inputarr=false,$secs2cache=0)   X-Ref
No description

Prepare($sql)   X-Ref
No description

PrepareSP($sql, $param = true)   X-Ref
No description

Parameter(&$stmt, &$var, $name, $isOutput=false, $maxLen=0, $type=0)   X-Ref
No description

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

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

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

IfNull( $field, $ifNull )   X-Ref
No description

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

_close()   X-Ref
No description

Class: ADORecordSet_odbtp  - X-Ref

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

_initrs()   X-Ref
No description

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

_seek($row)   X-Ref
No description

fields($colname)   X-Ref
No description

_fetch_odbtp($type=0)   X-Ref
No description

_fetch()   X-Ref
No description

MoveFirst()   X-Ref
No description

MoveLast()   X-Ref
No description

NextRecordSet()   X-Ref
No description

_close()   X-Ref
No description