Gumbo_Session_Encrypt

Gumbo_Session_Basic
   |
   --Gumbo_Session_Encrypt

Encrypted Session Class

Author(s): Michael Luster <mluster79@yahoo.com>
License:New BSD License
Copyright:Copyright (c) 2007, iBayou, Michael Luster
Link:http://sourceforge.net/projects/phpgumbo
Version:0.0.1

Implements interfaces:

Child classes:

Inherited Methods

Class Variables

Gumbo_Decrypt $_decrypt [line 43]
Gumbo_Encrypt $_encrypt [line 41]

Class Methods

public Gumbo_Session_Encrypt __construct ( [string $key], [string $cipher], [string $mode] ) [line 53]

Constructor

Parameter(s):

  • (string) $key :: Encryption key
  • (string) $cipher :: Encryption Cipher
  • (string) $mode :: Encryption Mode
Overridden in child classes as:
Gumbo_Session_User::__construct()
Constructor


[ Top ]
public string get ( string $key ) [line 112]

Returns the value of the Session variable

Parameter(s):

  • (string) $key
  • throws:  Gumbo_Exception
Implementation of:
Gumbo_Interface_Session::get()
Overrides
Gumbo_Session_Basic::get()

[ Top ]
public void set ( string $key, mixed $val ) [line 78]

Sets a value inside the Session array

Parameter(s):

  • (string) $key
  • (mixed) $val :: (primitive values only)
  • throws:  Gumbo_Exception
Implementation of:
Gumbo_Interface_Session::set()
Overrides
Gumbo_Session_Basic::set()

[ Top ]
public void setEncryptionSettings ( [string $key], [string $cipher], [string $mode] ) [line 67]

Sets Encryption/Decryption settings for the Encrypted Session

Parameter(s):

  • (string) $key
  • (string) $cipher
  • (string) $mode
Implementation of:
Gumbo_Interface_Session_Encrypt::setEncryptionSettings()

[ Top ]