NativeProxy.
This proxy is built-in session handlers in PHP 5.3.x
@author Drak <drak@zikula.org>
Expanded class hierarchy of NativeProxy
class NativeProxy extends AbstractProxy {
/**
* Constructor.
*/
public function __construct() {
// this makes an educated guess as to what the handler is since it should already be set.
$this->saveHandlerName = ini_get('session.save_handler');
}
/**
* Returns true if this handler wraps an internal PHP session save handler using \SessionHandler.
*
* @return Boolean False.
*/
public function isWrapper() {
return false;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractProxy:: |
protected | property | ||
AbstractProxy:: |
protected | property | ||
AbstractProxy:: |
protected | property | Flag if handler wraps an internal PHP session handler (using \SessionHandler). | |
AbstractProxy:: |
public | function | Gets the session ID. | |
AbstractProxy:: |
public | function | Gets the session name. | |
AbstractProxy:: |
public | function | Gets the session.save_handler name. | |
AbstractProxy:: |
public | function | Has a session started? | |
AbstractProxy:: |
public | function | Is this proxy handler and instance of \SessionHandlerInterface. | |
AbstractProxy:: |
public | function | Sets the active flag. | |
AbstractProxy:: |
public | function | Sets the session ID. | |
AbstractProxy:: |
public | function | Sets the session name. | |
NativeProxy:: |
public | function |
Returns true if this handler wraps an internal PHP session save handler using \SessionHandler. Overrides AbstractProxy:: |
|
NativeProxy:: |
public | function | Constructor. |