ILIAS  release_8 Revision v8.19-1-g4e8f2f9140c
All Data Structures Namespaces Files Functions Variables Modules Pages
ilBiblTableQueryInfo 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 ilBiblTableQueryInfo:
+ Collaboration diagram for ilBiblTableQueryInfo:

Public Member Functions

 getSortingColumn ()
 
 setSortingColumn (string $sorting_column)
 
 getSortingDirection ()
 
 setSortingDirection (string $sorting_direction)
 
 getOffset ()
 
 setOffset (int $offset)
 
 getLimit ()
 
 setLimit (int $limit)
 
 addFilter (ilBiblTableQueryFilterInterface $filter)
 
 getFilters ()
 

Protected Attributes

array $filters = []
 
string $sorting_column = ''
 
string $sorting_direction = ilBiblTableQueryInfoInterface::SORTING_ASC
 
int $offset = 0
 
int $limit = 10000
 

Additional Inherited Members

- Data Fields inherited from ilBiblTableQueryInfoInterface
const SORTING_ASC = "ASC"
 
const SORTING_DESC = "DESC"
 

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 ilBiblTableQueryInfo

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

Definition at line 24 of file class.ilBiblTableQueryInfo.php.

Member Function Documentation

◆ addFilter()

ilBiblTableQueryInfo::addFilter ( ilBiblTableQueryFilterInterface  $filter)

Implements ilBiblTableQueryInfoInterface.

Definition at line 87 of file class.ilBiblTableQueryInfo.php.

87  : void
88  {
89  $this->filters[] = $filter;
90  }

◆ getFilters()

ilBiblTableQueryInfo::getFilters ( )

Implements ilBiblTableQueryInfoInterface.

Definition at line 96 of file class.ilBiblTableQueryInfo.php.

References $filters.

96  : array
97  {
98  return $this->filters;
99  }

◆ getLimit()

ilBiblTableQueryInfo::getLimit ( )

Implements ilBiblTableQueryInfoInterface.

Definition at line 72 of file class.ilBiblTableQueryInfo.php.

References $limit.

72  : int
73  {
74  return $this->limit;
75  }

◆ getOffset()

ilBiblTableQueryInfo::getOffset ( )

Implements ilBiblTableQueryInfoInterface.

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

References $offset.

60  : int
61  {
62  return $this->offset;
63  }

◆ getSortingColumn()

ilBiblTableQueryInfo::getSortingColumn ( )

Implements ilBiblTableQueryInfoInterface.

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

References $sorting_column.

36  : string
37  {
38  return $this->sorting_column;
39  }

◆ getSortingDirection()

ilBiblTableQueryInfo::getSortingDirection ( )

Implements ilBiblTableQueryInfoInterface.

Definition at line 48 of file class.ilBiblTableQueryInfo.php.

References $sorting_direction.

48  : string
49  {
51  }

◆ setLimit()

ilBiblTableQueryInfo::setLimit ( int  $limit)

Implements ilBiblTableQueryInfoInterface.

Definition at line 78 of file class.ilBiblTableQueryInfo.php.

References $limit.

78  : void
79  {
80  $this->limit = $limit;
81  }

◆ setOffset()

ilBiblTableQueryInfo::setOffset ( int  $offset)

Implements ilBiblTableQueryInfoInterface.

Definition at line 66 of file class.ilBiblTableQueryInfo.php.

References $offset.

66  : void
67  {
68  $this->offset = $offset;
69  }

◆ setSortingColumn()

ilBiblTableQueryInfo::setSortingColumn ( string  $sorting_column)

Implements ilBiblTableQueryInfoInterface.

Definition at line 42 of file class.ilBiblTableQueryInfo.php.

References $sorting_column.

42  : void
43  {
44  $this->sorting_column = $sorting_column;
45  }

◆ setSortingDirection()

ilBiblTableQueryInfo::setSortingDirection ( string  $sorting_direction)

Implements ilBiblTableQueryInfoInterface.

Definition at line 54 of file class.ilBiblTableQueryInfo.php.

References $sorting_direction.

54  : void
55  {
56  $this->sorting_direction = $sorting_direction;
57  }

Field Documentation

◆ $filters

array ilBiblTableQueryInfo::$filters = []
protected

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

Referenced by getFilters().

◆ $limit

int ilBiblTableQueryInfo::$limit = 10000
protected

Definition at line 33 of file class.ilBiblTableQueryInfo.php.

Referenced by getLimit(), and setLimit().

◆ $offset

int ilBiblTableQueryInfo::$offset = 0
protected

Definition at line 32 of file class.ilBiblTableQueryInfo.php.

Referenced by getOffset(), and setOffset().

◆ $sorting_column

string ilBiblTableQueryInfo::$sorting_column = ''
protected

Definition at line 30 of file class.ilBiblTableQueryInfo.php.

Referenced by getSortingColumn(), and setSortingColumn().

◆ $sorting_direction

string ilBiblTableQueryInfo::$sorting_direction = ilBiblTableQueryInfoInterface::SORTING_ASC
protected

Definition at line 31 of file class.ilBiblTableQueryInfo.php.

Referenced by getSortingDirection(), and setSortingDirection().


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