ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilBiblTableQueryInfo Class Reference

Class ilBiblTableQueryInfo. More...

+ Inheritance diagram for ilBiblTableQueryInfo:
+ Collaboration diagram for ilBiblTableQueryInfo:

Public Member Functions

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

Protected Attributes

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

Additional Inherited Members

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

Detailed Description

Member Function Documentation

◆ addFilter()

ilBiblTableQueryInfo::addFilter ( ilBiblTableQueryFilterInterface  $filter)

Implements ilBiblTableQueryInfoInterface.

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

109  {
110  $this->filters[] = $filter;
111  }

◆ getFilters()

ilBiblTableQueryInfo::getFilters ( )

Implements ilBiblTableQueryInfoInterface.

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

References $filters.

118  {
119  return $this->filters;
120  }

◆ getLimit()

ilBiblTableQueryInfo::getLimit ( )
Returns
int

Implements ilBiblTableQueryInfoInterface.

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

References $limit.

◆ getOffset()

ilBiblTableQueryInfo::getOffset ( )
Returns
int

Implements ilBiblTableQueryInfoInterface.

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

References $offset.

◆ getSortingColumn()

ilBiblTableQueryInfo::getSortingColumn ( )
Returns
string

Implements ilBiblTableQueryInfoInterface.

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

References $sorting_column.

◆ getSortingDirection()

ilBiblTableQueryInfo::getSortingDirection ( )
Returns
string

Implements ilBiblTableQueryInfoInterface.

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

References $sorting_direction.

◆ setLimit()

ilBiblTableQueryInfo::setLimit (   $limit)
Parameters
int$limit

Implements ilBiblTableQueryInfoInterface.

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

References $limit.

100  {
101  $this->limit = $limit;
102  }

◆ setOffset()

ilBiblTableQueryInfo::setOffset (   $offset)
Parameters
int$offset

Implements ilBiblTableQueryInfoInterface.

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

References $offset.

82  {
83  $this->offset = $offset;
84  }

◆ setSortingColumn()

ilBiblTableQueryInfo::setSortingColumn (   $sorting_column)
Parameters
string$sorting_column

Implements ilBiblTableQueryInfoInterface.

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

References $sorting_column.

46  {
47  $this->sorting_column = $sorting_column;
48  }

◆ setSortingDirection()

ilBiblTableQueryInfo::setSortingDirection (   $sorting_direction)
Parameters
string$sorting_direction

Implements ilBiblTableQueryInfoInterface.

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

References $sorting_direction.

64  {
65  $this->sorting_direction = $sorting_direction;
66  }

Field Documentation

◆ $filters

ilBiblTableQueryInfo::$filters = []
protected

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

Referenced by getFilters().

◆ $limit

ilBiblTableQueryInfo::$limit = 10000
protected

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

Referenced by getLimit(), and setLimit().

◆ $offset

ilBiblTableQueryInfo::$offset = 0
protected

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

Referenced by getOffset(), and setOffset().

◆ $sorting_column

ilBiblTableQueryInfo::$sorting_column = ''
protected

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

Referenced by getSortingColumn(), and setSortingColumn().

◆ $sorting_direction

ilBiblTableQueryInfo::$sorting_direction = ilBiblTableQueryInfoInterface::SORTING_ASC
protected

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

Referenced by getSortingDirection(), and setSortingDirection().


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