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
AbstractSpecifics.php
Go to the documentation of this file.
1
<?php
2
namespace
TYPO3\CMS\Dbal\Database\Specifics
;
3
21
abstract
class
AbstractSpecifics
{
25
const
TABLE_MAXLENGTH
=
'table_maxlength'
;
26
const
FIELD_MAXLENGTH
=
'field_maxlength'
;
27
const
LIST_MAXEXPRESSIONS
=
'list_maxexpressions'
;
28
const
CAST_FIND_IN_SET
=
'cast_find_in_set'
;
29
36
protected
$specificProperties
= array();
37
44
public
function
specificExists
($specific) {
45
return
isset($this->specificProperties[$specific]);
46
}
47
54
public
function
getSpecific
($specific) {
55
return
$this->specificProperties[$specific];
56
}
57
65
public
function
splitMaxExpressions
($expressionList, $preserveArrayKeys = FALSE) {
66
if
(!$this->
specificExists
(self::LIST_MAXEXPRESSIONS)) {
67
return
array($expressionList);
68
}
69
70
return
array_chunk($expressionList, $this->
getSpecific
(self::LIST_MAXEXPRESSIONS), $preserveArrayKeys);
71
}
72
}
TYPO3\CMS\Dbal\Database\Specifics\AbstractSpecifics\splitMaxExpressions
splitMaxExpressions($expressionList, $preserveArrayKeys=FALSE)
Definition:
AbstractSpecifics.php:65
TYPO3\CMS\Dbal\Database\Specifics\AbstractSpecifics\FIELD_MAXLENGTH
const FIELD_MAXLENGTH
Definition:
AbstractSpecifics.php:26
TYPO3\CMS\Dbal\Database\Specifics\AbstractSpecifics\CAST_FIND_IN_SET
const CAST_FIND_IN_SET
Definition:
AbstractSpecifics.php:28
TYPO3\CMS\Dbal\Database\Specifics\AbstractSpecifics
Definition:
AbstractSpecifics.php:21
TYPO3\CMS\Dbal\Database\Specifics\AbstractSpecifics\getSpecific
getSpecific($specific)
Definition:
AbstractSpecifics.php:54
TYPO3\CMS\Dbal\Database\Specifics\AbstractSpecifics\specificExists
specificExists($specific)
Definition:
AbstractSpecifics.php:44
TYPO3\CMS\Dbal\Database\Specifics\AbstractSpecifics\LIST_MAXEXPRESSIONS
const LIST_MAXEXPRESSIONS
Definition:
AbstractSpecifics.php:27
TYPO3\CMS\Dbal\Database\Specifics\AbstractSpecifics\$specificProperties
$specificProperties
Definition:
AbstractSpecifics.php:36
TYPO3\CMS\Dbal\Database\Specifics
Definition:
AbstractSpecifics.php:2
TYPO3\CMS\Dbal\Database\Specifics\AbstractSpecifics\TABLE_MAXLENGTH
const TABLE_MAXLENGTH
Definition:
AbstractSpecifics.php:25
typo3
sysext
dbal
Classes
Database
Specifics
AbstractSpecifics.php
Generated on Wed Aug 7 2019 09:52:24 for TYPO3 CMS by
1.8.13