ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.arConcat.php
Go to the documentation of this file.
1
<?
php
2
require_once(dirname(__FILE__) .
'/../Statement/class.arStatement.php'
);
3
11
class
arConcat
extends
arStatement
{
12
16
protected
$as
=
''
;
20
protected
$fields
=
array
();
21
22
28
public
function
asSQLStatement
(
ActiveRecord
$ar) {
29
return
' CONCAT('
. implode(
', '
, $this->
getFields
()) .
') AS '
. $this->
getAs
();
30
}
31
32
36
public
function
getAs
() {
37
return
$this->as
;
38
}
39
40
44
public
function
setAs
(
$as
) {
45
$this->as =
$as
;
46
}
47
48
52
public
function
getFields
() {
53
return
$this->fields
;
54
}
55
56
60
public
function
setFields
(
$fields
) {
61
$this->
fields
=
$fields
;
62
}
63
}
64
65
?>
ActiveRecord
Class ActiveRecord.
Definition:
class.ActiveRecord.php:24
arConcat\setAs
setAs($as)
Definition:
class.arConcat.php:44
arConcat\getFields
getFields()
Definition:
class.arConcat.php:52
arConcat\$fields
$fields
Definition:
class.arConcat.php:20
arStatement
Class arStatement.
Definition:
class.arStatement.php:10
fields
$errors fields
Definition:
imgupload.php:52
arConcat
Class arConcat.
Definition:
class.arConcat.php:11
arConcat\$as
$as
Definition:
class.arConcat.php:16
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
arConcat\setFields
setFields($fields)
Definition:
class.arConcat.php:60
arConcat\asSQLStatement
asSQLStatement(ActiveRecord $ar)
Definition:
class.arConcat.php:28
php
arConcat\getAs
getAs()
Definition:
class.arConcat.php:36
Services
ActiveRecord
Connector
Concat
class.arConcat.php
Generated on Fri Jan 24 2025 19:01:04 for ILIAS by
1.8.13 (using
Doxyfile
)