ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
arLimit Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

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

Public Member Functions

 asSQLStatement (ActiveRecord $activeRecord, ilDBInterface $db)
 
 setEnd (int $end)
 
 getEnd ()
 
 setStart (int $start)
 
 getStart ()
 
- Public Member Functions inherited from arStatement
 asSQLStatement (ActiveRecord $activeRecord, ilDBInterface $db)
 
 getTableNameAs ()
 
 setTableNameAs (string $table_name_as)
 

Protected Attributes

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

Additional Inherited Members

- Protected Member Functions inherited from arStatement
 wrapFields (array $fields, ilDBInterface $db)
 
 wrapField (string $field, ilDBInterface $db)
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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 24 of file class.arLimit.php.

Member Function Documentation

◆ asSQLStatement()

arLimit::asSQLStatement ( ActiveRecord  $activeRecord,
ilDBInterface  $db 
)

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

References getEnd(), and getStart().

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

◆ getEnd()

arLimit::getEnd ( )

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

References $end.

Referenced by asSQLStatement().

39  : int
40  {
41  return $this->end;
42  }
+ Here is the caller graph for this function:

◆ getStart()

arLimit::getStart ( )

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

References $start.

Referenced by asSQLStatement().

49  : int
50  {
51  return $this->start;
52  }
+ Here is the caller graph for this function:

◆ setEnd()

arLimit::setEnd ( int  $end)

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

References $end.

34  : void
35  {
36  $this->end = $end;
37  }

◆ setStart()

arLimit::setStart ( int  $start)

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

References $start.

44  : void
45  {
46  $this->start = $start;
47  }

Field Documentation

◆ $end

int arLimit::$end = 0
protected

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

Referenced by getEnd(), and setEnd().

◆ $start

int arLimit::$start = 0
protected

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

Referenced by getStart(), and setStart().


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