ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
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 28 of file class.arLimit.php.

References getEnd(), and getStart().

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

◆ getEnd()

arLimit::getEnd ( )
Returns
int

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

References $end.

Referenced by asSQLStatement().

44  {
45  return $this->end;
46  }
+ Here is the caller graph for this function:

◆ getStart()

arLimit::getStart ( )
Returns
int

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

References $start.

Referenced by asSQLStatement().

60  {
61  return $this->start;
62  }
+ Here is the caller graph for this function:

◆ setEnd()

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

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

References $end.

36  {
37  $this->end = $end;
38  }

◆ setStart()

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

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

References $start.

52  {
53  $this->start = $start;
54  }

Field Documentation

◆ $end

arLimit::$end
protected

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

Referenced by getEnd(), and setEnd().

◆ $start

arLimit::$start
protected

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

Referenced by getStart(), and setStart().


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