ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ILIAS\Notes\NotesSessionRepository Class Reference
+ Collaboration diagram for ILIAS\Notes\NotesSessionRepository:

Public Member Functions

 __construct ()
 
 setSortAscending (bool $asc)
 
 getSortAscending ()
 

Data Fields

const KEY_BASE = "notes"
 

Detailed Description

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

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

Constructor & Destructor Documentation

◆ __construct()

ILIAS\Notes\NotesSessionRepository::__construct ( )

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

31  {
32  }

Member Function Documentation

◆ getSortAscending()

ILIAS\Notes\NotesSessionRepository::getSortAscending ( )

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

References ILIAS\Repository\get(), and ilSession\has().

39  : bool
40  {
41  if (\ilSession::has(self::KEY_BASE . "_asc")) {
42  return \ilSession::get(self::KEY_BASE . "_asc");
43  }
44  return false;
45  }
static has($a_var)
get(string $key, Refinery\Transformation $t)
Get passed parameter, if not data passed, get key from http request.
+ Here is the call graph for this function:

◆ setSortAscending()

ILIAS\Notes\NotesSessionRepository::setSortAscending ( bool  $asc)

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

References ilSession\set().

34  : void
35  {
36  \ilSession::set(self::KEY_BASE . "_asc", $asc);
37  }
static set(string $a_var, $a_val)
Set a value.
+ Here is the call graph for this function:

Field Documentation

◆ KEY_BASE

const ILIAS\Notes\NotesSessionRepository::KEY_BASE = "notes"

Definition at line 28 of file class.NotesSessionRepository.php.


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