ILIAS
Release_5_0_x_branch Revision 61816
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
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
?>
Services
ActiveRecord
Connector
Concat
class.arConcat.php
Generated on Wed Apr 27 2016 21:01:27 for ILIAS by
1.8.1.2 (using
Doxyfile
)