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]

Sybase driver

Author: Toni Tunkkari <toni.tunkkari@finebyte.com>
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: 445 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 classes

ADODB_sybase:: (17 methods):
  _insertID()
  _affectedrows()
  BeginTrans()
  CommitTrans()
  RollbackTrans()
  RowLock()
  SelectDB()
  ErrorMsg()
  _connect()
  _pconnect()
  _query()
  SelectLimit()
  _close()
  UnixDate()
  UnixTimeStamp()
  SQLDate()
  MetaPrimaryKeys()

Name:: (0 methods):

ADORecordset_sybase:: (8 methods):
  __construct()
  FetchField()
  _initrs()
  _seek()
  _fetch()
  _close()
  UnixDate()
  UnixTimeStamp()

ADORecordSet_array_sybase:: (2 methods):
  UnixDate()
  UnixTimeStamp()


Class: ADODB_sybase  - X-Ref

_insertID($table = '', $column = '')   X-Ref
might require begintrans -- committrans


_affectedrows()   X-Ref
No description

BeginTrans()   X-Ref
No description

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

RollbackTrans()   X-Ref
No description

RowLock($tables,$where,$col='top 1 null as ignore')   X-Ref
No description

SelectDB($dbName)   X-Ref
No description

ErrorMsg()   X-Ref
No description

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

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

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

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

_close()   X-Ref
No description

UnixDate($v)   X-Ref
No description

UnixTimeStamp($v)   X-Ref
No description

SQLDate($fmt, $col=false)   X-Ref
No description

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

Class: Name  - X-Ref

Class: ADORecordset_sybase  - X-Ref

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

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

_initrs()   X-Ref
No description

_seek($row)   X-Ref
No description

_fetch($ignore_fields=false)   X-Ref
No description

_close()   X-Ref
No description

UnixDate($v)   X-Ref
No description

UnixTimeStamp($v)   X-Ref
No description

Class: ADORecordSet_array_sybase  - X-Ref

UnixDate($v)   X-Ref
No description

UnixTimeStamp($v)   X-Ref
No description