/** * Session set constructor */ public function __construct() { if (!self::$_saveHandler) { throw new Rediska_Key_Exception('You must initialize Rediska_Zend_Session_SaveHandler_Redis before'); } $this->setRediska(self::getSaveHandler()->getRediska()); parent::__construct(self::getSaveHandler()->getOption('keyPrefix') . 'sessions'); }
public function __construct($userId) { parent::__construct('user:'******':followers'); }
public function __construct($userId) { parent::__construct('user:'******':posts'); }
public function __construct() { parent::__construct('users'); }