ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
Auth_Yadis_PHPSession Class Reference
+ Collaboration diagram for Auth_Yadis_PHPSession:

Public Member Functions

 set ($name, $value)
 Set a session key/value pair. More...
 
 get ($name, $default=null)
 Get a key's value from the session. More...
 
 del ($name)
 Remove a key/value pair from the session. More...
 
 contents ()
 Return the contents of the session in array form. More...
 

Detailed Description

Definition at line 17 of file Manager.php.

Member Function Documentation

◆ contents()

Auth_Yadis_PHPSession::contents ( )

Return the contents of the session in array form.

Definition at line 60 of file Manager.php.

References $_SESSION.

61  {
62  return $_SESSION;
63  }
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']

◆ del()

Auth_Yadis_PHPSession::del (   $name)

Remove a key/value pair from the session.

Parameters
string$nameThe name of the key to remove.

Definition at line 52 of file Manager.php.

References $_SESSION.

53  {
54  unset($_SESSION[$name]);
55  }
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']

◆ get()

Auth_Yadis_PHPSession::get (   $name,
  $default = null 
)

Get a key's value from the session.

Parameters
string$nameThe name of the key to retrieve.
string$defaultThe optional value to return if the key is not found in the session.
Returns
string $result The key's value in the session or $default if it isn't found.

Definition at line 38 of file Manager.php.

References $_SESSION.

39  {
40  if (array_key_exists($name, $_SESSION)) {
41  return $_SESSION[$name];
42  } else {
43  return $default;
44  }
45  }
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']

◆ set()

Auth_Yadis_PHPSession::set (   $name,
  $value 
)

Set a session key/value pair.

Parameters
string$nameThe name of the session key to add.
string$valueThe value to add to the session.

Definition at line 24 of file Manager.php.

References $_SESSION.

25  {
26  $_SESSION[$name] = $value;
27  }
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']

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