Gumbo_Interface_Session



Session Interface

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

Child classes:

Interface Methods

public string get ( string $key ) [line 139]

Returns the value of the SESSION variable

Parameter(s):

  • (string) $key

[ Top ]
public array getAll ( ) [line 145]

Returns the SESSION array


[ Top ]
public string getDomain ( ) [line 163]

Returns the Session domain


[ Top ]
public string getId ( ) [line 126]

Returns the Session ID


[ Top ]
public int getLifetime ( ) [line 151]

Returns the Session lifetime


[ Top ]
public string getName ( ) [line 132]

Returns the Session Name


[ Top ]
public string getPath ( ) [line 157]

Returns the Session path


[ Top ]
public bool isSecure ( ) [line 169]

Returns if the Session is secure


[ Top ]
public void saveSettings ( int $lifetime, [string $path], [string $domain], [bool $secure] ) [line 83]

Sets Session settings

Parameter(s):

  • (int) $lifetime
  • (string) $path
  • (string) $domain
  • (bool) $secure

[ Top ]
public void set ( string $key, mix $val ) [line 93]

Sets a value inside the SESSION array

Parameter(s):

  • (string) $key
  • (mix) $val :: (primitive values only)

[ Top ]
public void setDomain ( string $domain ) [line 111]

Sets the Session domain

Parameter(s):

  • (string) $domain

[ Top ]
public void setLifetime ( int $secs ) [line 99]

Sets the Session Lifetime

Parameter(s):

  • (int) $secs

[ Top ]
public void setPath ( string $path ) [line 105]

Sets the Session path

Parameter(s):

  • (string) $path

[ Top ]
public void setSecure ( bool $val ) [line 117]

Sets if the Session should be secure

Parameter(s):

  • (bool) $val

[ Top ]
public bool start ( ) [line 69]

Starts the Session


[ Top ]
public void stop ( ) [line 74]

Stops the Session by removing all Session data


[ Top ]
public mix __get ( string $key ) [line 40]

Returns a SESSION value

Parameter(s):

  • (string) $key

[ Top ]
public bool __isset ( string $key ) [line 54]

Returns if a SESSION variable exists

Parameter(s):

  • (string) $key

[ Top ]
public void __set ( string $key, mix $val ) [line 47]

Sets the SESSION value

Parameter(s):

  • (string) $key
  • (mix) $val

[ Top ]
public void __unset ( string $key ) [line 60]

Unsets a SESSION variable

Parameter(s):

  • (string) $key

[ Top ]