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 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 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 ]