AloFramework documentation
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo

Namespaces

  • Alo
    • Cache
    • CLI
    • Controller
    • Db
      • Query
    • Exception
    • FileSystem
    • Session
    • Traversables
    • Validators
    • Windows
  • Controller
  • None
  • PHP

Classes

  • AbstractCacheSession
  • AbstractSession
  • MemcachedSession
  • MySQLSession
  • RedisSession

Class MemcachedSession

Memcached-based session handler

Alo\Session\AbstractSessionimplementsSessionHandlerInterface
Extended byAlo\Session\AbstractCacheSession
Extended byAlo\Session\MemcachedSession
Namespace:Alo\Session
Author:Art <a.molcanovas@gmail.com>
Located atsys/class/alo/session/memcachedsession.php

Methods summary

public
#__construct(Alo\Cache\MemcachedWrapper& $instance=null)

Constructor

Constructor

Parameters

$instance
Alo\Cache\MemcachedWrapper
$instance If a parameter is passed here its instance will be used instead of Alo::$cache

Throws

Alo\Exception\LibraryException
When $instance is not passed and Alo::$cache does not contain a MemcachedWrapper instance

Author

Art <a.molcanovas@gmail.com>

Overrides

Alo\Session\AbstractSession::__construct
public static
#init(Alo\Cache\MemcachedWrapper& $dependcyObject=null)

Initialises a MySQLSession

Initialises a MySQLSession

Parameters

$dependcyObject
Alo\Cache\MemcachedWrapper
$dependcyObject If you don't want to use Alo::$db you can pass a MemcachedWrapper instance reference here.

Author

Art <a.molcanovas@gmail.com>

Methods inherited fromAlo\Session\AbstractCacheSession

destroy(),read(),write()

Methods inherited fromAlo\Session\AbstractSession

close(),destroySafely(),gc(),getToken(),identityCheck(),initSession(),isActive(),open(),setID()

Magic methods summary

Properties summary

Properties inherited fromAlo\Session\AbstractCacheSession

$client,$prefix

AloFramework documentation API documentation generated byApiGen 2.8.0