ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
arOrder Class Reference

Class arOrder. More...

+ Inheritance diagram for arOrder:
+ Collaboration diagram for arOrder:

Public Member Functions

 asSQLStatement (ActiveRecord $ar)
 setDirection ($direction)
 getDirection ()
 setFieldname ($fieldname)
 getFieldname ()
- Public Member Functions inherited from arStatement
 getTableNameAs ()
 setTableNameAs ($table_name_as)

Protected Attributes

 $fieldname = ''
 $direction = 'ASC'
- Protected Attributes inherited from arStatement
 $table_name_as = ''

Detailed Description

Class arOrder.

Author
Fabian Schmid fs@st.nosp@m.uder.nosp@m.-raim.nosp@m.ann..nosp@m.ch
Version
2.0.7

Definition at line 11 of file class.arOrder.php.

Member Function Documentation

arOrder::asSQLStatement ( ActiveRecord  $ar)
Parameters
ActiveRecord$ar
Returns
string

Reimplemented from arStatement.

Definition at line 28 of file class.arOrder.php.

References getDirection(), and getFieldname().

{
return ' ' . $this->getFieldname() . ' ' . strtoupper($this->getDirection());
}

+ Here is the call graph for this function:

arOrder::getDirection ( )
Returns
string

Definition at line 44 of file class.arOrder.php.

References $direction.

Referenced by asSQLStatement().

{
}

+ Here is the caller graph for this function:

arOrder::getFieldname ( )
Returns
string

Definition at line 60 of file class.arOrder.php.

References $fieldname.

Referenced by asSQLStatement().

{
}

+ Here is the caller graph for this function:

arOrder::setDirection (   $direction)
Parameters
string$direction

Definition at line 36 of file class.arOrder.php.

References $direction.

{
$this->direction = $direction;
}
arOrder::setFieldname (   $fieldname)
Parameters
string$fieldname

Definition at line 52 of file class.arOrder.php.

References $fieldname.

{
$this->fieldname = $fieldname;
}

Field Documentation

arOrder::$direction = 'ASC'
protected

Definition at line 20 of file class.arOrder.php.

Referenced by getDirection(), and setDirection().

arOrder::$fieldname = ''
protected

Definition at line 16 of file class.arOrder.php.

Referenced by getFieldname(), and setFieldname().


The documentation for this class was generated from the following file: