Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

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

(no description)

File Size: 286 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 classes

ADODB_oci8po:: (7 methods):
  __construct()
  Param()
  Prepare()
  Execute()
  SelectLimit()
  _query()
  extractBinds()

Name:: (0 methods):

ADORecordset_oci8po:: (6 methods):
  __construct()
  Fields()
  _FetchField()
  MoveNext()
  GetArrayLimit()
  _fetch()


Class: ADODB_oci8po  - X-Ref

__construct()   X-Ref
No description

Param($name,$type='C')   X-Ref
No description

Prepare($sql,$cursor=false)   X-Ref
No description

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

SelectLimit($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs2cache=0)   X-Ref
The optimizations performed by ADODB_oci8::SelectLimit() are not
compatible with the oci8po driver, so we rely on the slower method
from the base class.
We can't properly handle prepared statements either due to preprocessing
of query parameters, so we treat them as regular SQL statements.


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

extractBinds($sql,$inputarr)   X-Ref
Replaces compatibility bind markers with oracle ones and returns a
valid sql statement

This replaces a regexp based section of code that has been subject
to numerous tweaks, as more extreme test cases have appeared. This
is now done this like this to help maintainability and avoid the
need to rely on regexp experienced maintainers

param: string        $sql        The sql statement
param: string[]    $inputarr    The bind array
return: string    The modified statement

Class: Name  - X-Ref

Class: ADORecordset_oci8po  - X-Ref

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

Fields($colname)   X-Ref
No description

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

MoveNext()   X-Ref
No description

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

_fetch()   X-Ref
No description