ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
arLimit Class Reference

Class arLimit. More...

+ Inheritance diagram for arLimit:
+ Collaboration diagram for arLimit:

Public Member Functions

 asSQLStatement (ActiveRecord $ar)
 
 setEnd ($end)
 
 getEnd ()
 
 setStart ($start)
 
 getStart ()
 
- Public Member Functions inherited from arStatement
 asSQLStatement (ActiveRecord $ar)
 
 asORACLEStatement (ActiveRecord $ar)
 
 getTableNameAs ()
 
 setTableNameAs ($table_name_as)
 

Protected Attributes

 $start
 
 $end
 
- Protected Attributes inherited from arStatement
 $table_name_as = ''
 

Detailed Description

Class arLimit.

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.arLimit.php.

Member Function Documentation

◆ asSQLStatement()

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

Definition at line 29 of file class.arLimit.php.

References getEnd(), and getStart().

30  {
31  return ' LIMIT ' . $this->getStart() . ', ' . $this->getEnd();
32  }
+ Here is the call graph for this function:

◆ getEnd()

arLimit::getEnd ( )
Returns
int

Definition at line 47 of file class.arLimit.php.

References $end.

Referenced by asSQLStatement().

48  {
49  return $this->end;
50  }
+ Here is the caller graph for this function:

◆ getStart()

arLimit::getStart ( )
Returns
int

Definition at line 65 of file class.arLimit.php.

References $start.

Referenced by asSQLStatement().

66  {
67  return $this->start;
68  }
+ Here is the caller graph for this function:

◆ setEnd()

arLimit::setEnd (   $end)
Parameters
int$end

Definition at line 38 of file class.arLimit.php.

References $end.

39  {
40  $this->end = $end;
41  }

◆ setStart()

arLimit::setStart (   $start)
Parameters
int$start

Definition at line 56 of file class.arLimit.php.

References $start.

57  {
58  $this->start = $start;
59  }

Field Documentation

◆ $end

arLimit::$end
protected

Definition at line 21 of file class.arLimit.php.

Referenced by getEnd(), and setEnd().

◆ $start

arLimit::$start
protected

Definition at line 17 of file class.arLimit.php.

Referenced by getStart(), and setStart().


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