TYPO3 CMS
TYPO3_6-2
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
+
Files
File List
+
File Members
+
All
$
(
_
a
c
d
e
f
h
i
l
o
p
r
s
t
u
x
+
Functions
_
a
c
d
e
f
i
l
o
p
r
s
u
x
+
Variables
$
(
_
a
d
e
h
i
p
r
s
t
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Pages
adodb-oci805.inc.php
Go to the documentation of this file.
1
<?php
15
// security - hide paths
16
if
(!defined(
'ADODB_DIR'
))
die
();
17
18
include_once(ADODB_DIR.
'/drivers/adodb-oci8.inc.php'
);
19
20
class
ADODB_oci805
extends
ADODB_oci8
{
21
var
$databaseType
=
"oci805"
;
22
var
$connectSID
=
true
;
23
24
function
ADODB_oci805
()
25
{
26
$this->
ADODB_oci8
();
27
}
28
29
function
SelectLimit
(
$sql
,$nrows=-1,$offset=-1, $inputarr=
false
,$secs2cache=0)
30
{
31
// seems that oracle only supports 1 hint comment in 8i
32
if
(strpos(
$sql
,
'/*+'
) !==
false
)
33
$sql
= str_replace(
'/*+ '
,
'/*+FIRST_ROWS '
,
$sql
);
34
else
35
$sql
= preg_replace(
'/^[ \t\n]*select/i'
,
'SELECT /*+FIRST_ROWS*/'
,
$sql
);
36
37
/*
38
The following is only available from 8.1.5 because order by in inline views not
39
available before then...
40
http://www.jlcomp.demon.co.uk/faq/top_sql.html
41
if ($nrows > 0) {
42
if ($offset > 0) $nrows += $offset;
43
$sql = "select * from ($sql) where rownum <= $nrows";
44
$nrows = -1;
45
}
46
*/
47
48
return
ADOConnection::SelectLimit(
$sql
,$nrows,$offset,$inputarr,$secs2cache);
49
}
50
}
51
52
class
ADORecordset_oci805
extends
ADORecordset_oci8
{
53
var
$databaseType
=
"oci805"
;
54
function
ADORecordset_oci805
($id,$mode=
false
)
55
{
56
$this->
ADORecordset_oci8
($id,$mode);
57
}
58
}
ADORecordset_oci805\ADORecordset_oci805
ADORecordset_oci805($id, $mode=false)
Definition:
adodb-oci805.inc.php:54
$sql
$sql
Definition:
server.php:82
ADORecordset_oci8
Definition:
adodb-oci8.inc.php:1348
ADODB_oci8
Definition:
adodb-oci8.inc.php:55
die
die
Definition:
index.php:6
ADODB_oci805
Definition:
adodb-oci805.inc.php:20
ADODB_oci805\ADODB_oci805
ADODB_oci805()
Definition:
adodb-oci805.inc.php:24
ADODB_oci805\SelectLimit
SelectLimit($sql, $nrows=-1, $offset=-1, $inputarr=false, $secs2cache=0)
Definition:
adodb-oci805.inc.php:29
ADORecordset_oci805
Definition:
adodb-oci805.inc.php:52
ADODB_oci805\$connectSID
$connectSID
Definition:
adodb-oci805.inc.php:22
ADODB_oci805\$databaseType
$databaseType
Definition:
adodb-oci805.inc.php:21
ADODB_oci8\ADODB_oci8
ADODB_oci8()
Definition:
adodb-oci8.inc.php:105
typo3
sysext
adodb
adodb
drivers
adodb-oci805.inc.php
Generated on Wed Aug 7 2019 09:52:17 for TYPO3 CMS by
1.8.13