ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
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
{
13
17
protected
$fieldname
=
''
;
21
protected
$direction
=
'ASC'
;
22
23
29
public
function
asSQLStatement
(
ActiveRecord
$ar)
30
{
31
return
' '
. $this->
getFieldname
() .
' '
. strtoupper($this->
getDirection
());
32
}
33
34
38
public
function
setDirection
(
$direction
)
39
{
40
$this->direction =
$direction
;
41
}
42
43
47
public
function
getDirection
()
48
{
49
return
$this->direction
;
50
}
51
52
56
public
function
setFieldname
(
$fieldname
)
57
{
58
$this->fieldname =
$fieldname
;
59
}
60
61
65
public
function
getFieldname
()
66
{
67
return
$this->fieldname
;
68
}
69
}
ActiveRecord
Class ActiveRecord.
Definition:
class.ActiveRecord.php:24
arOrder\$direction
$direction
Definition:
class.arOrder.php:21
arOrder\setDirection
setDirection($direction)
Definition:
class.arOrder.php:38
arOrder\getDirection
getDirection()
Definition:
class.arOrder.php:47
arOrder\setFieldname
setFieldname($fieldname)
Definition:
class.arOrder.php:56
arStatement
Class arStatement.
Definition:
class.arStatement.php:10
arOrder\getFieldname
getFieldname()
Definition:
class.arOrder.php:65
arOrder\asSQLStatement
asSQLStatement(ActiveRecord $ar)
Definition:
class.arOrder.php:29
arOrder\$fieldname
$fieldname
Definition:
class.arOrder.php:17
arOrder
Class arOrder.
Definition:
class.arOrder.php:11
Services
ActiveRecord
Connector
Order
class.arOrder.php
Generated on Tue Jan 28 2025 19:01:28 for ILIAS by
1.8.13 (using
Doxyfile
)