Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 311 and 400] [Versions 400 and 402] [Versions 400 and 403]

PDO Firebird driver This version has only been tested on Firebird 3.0 and PHP 7

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

Defines 3 classes

ADODB_pdo_firebird:: (12 methods):
  _init()
  serverInfo()
  metaTables()
  metaColumns()
  metaIndexes()
  metaPrimaryKeys()
  createSequence()
  dropSequence()
  _affectedrows()
  genId()
  selectLimit()
  _convertFieldType()

ADORecordSet_pdo_firebird:: (1 method):
  fetchField()

ADORecordSet_array_pdo_firebird:: (1 method):
  fetchField()


Class: ADODB_pdo_firebird  - X-Ref

Class ADODB_pdo_firebird

_init($parentDriver)   X-Ref
No description

serverInfo()   X-Ref
Gets the version iformation from the server

return: string[]

metaTables($ttype = false, $showSchema = false, $mask = false)   X-Ref
Returns the tables in the database.

return: string[]
param: mixed $ttype
param: bool  $showSchema
param: mixed $mask

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

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

metaPrimaryKeys($table, $owner_notused = false, $internalKey = false)   X-Ref
No description

createSequence($seqname = 'adodbseq', $startID = 1)   X-Ref
No description

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

_affectedrows()   X-Ref
No description

genId($seqname = 'adodbseq', $startID = 1)   X-Ref
No description

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

_convertFieldType(&$fld, $ftype, $flen, $fscale, $fsubtype, $fprecision, $dialect3)   X-Ref
Sets the appropriate type into the $fld variable

param: ADOFieldObject $fld By reference
param: int            $ftype
param: int            $flen
param: int            $fscale
param: int            $fsubtype
param: int            $fprecision
param: bool           $dialect3

Class: ADORecordSet_pdo_firebird  - X-Ref

Class ADORecordSet_pdo_firebird

fetchField($fieldOffset = 0)   X-Ref
returns the field object

return: object The ADOFieldObject describing the field
param: int $fieldOffset Optional field offset

Class: ADORecordSet_array_pdo_firebird  - X-Ref

Class ADORecordSet_array_pdo_firebird

fetchField($fieldOffset = 0)   X-Ref
returns the field object

return: object The ADOFieldObject describing the field
param: int $fieldOffset Optional field offset