Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 311 and 401] [Versions 401 and 402] [Versions 401 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.

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

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

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

Class: ADORecordSet_array_pdo_firebird  - X-Ref

Class ADORecordSet_array_pdo_firebird

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

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