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.arOrder.php
Go to the documentation of this file.
1
<?php
2
require_once(dirname(__FILE__) .
'/../Statement/class.arStatement.php'
);
3
11
class
arOrder
extends
arStatement
{
12
16
protected
$fieldname
=
''
;
20
protected
$direction
=
'ASC'
;
21
22
28
public
function
asSQLStatement
(
ActiveRecord
$ar) {
29
return
' '
. $this->
getFieldname
() .
' '
. strtoupper($this->
getDirection
());
30
}
31
32
36
public
function
setDirection
(
$direction
) {
37
$this->direction =
$direction
;
38
}
39
40
44
public
function
getDirection
() {
45
return
$this->direction
;
46
}
47
48
52
public
function
setFieldname
(
$fieldname
) {
53
$this->fieldname =
$fieldname
;
54
}
55
56
60
public
function
getFieldname
() {
61
return
$this->fieldname
;
62
}
63
}
64
65
?>
Services
ActiveRecord
Connector
Order
class.arOrder.php
Generated on Wed Apr 27 2016 21:01:27 for ILIAS by
1.8.1.2 (using
Doxyfile
)