JOOMLA中国
  • Joomla中国首页
  • 社区
  • 教程
  • 应用市场
  • B计划
Joomla! Framework TM
  • Namespace
  • Class
  • Tree
  • Deprecated

Namespaces

  • Composer
    • Autoload
  • Joomla
    • Application
      • Cli
        • Output
          • Processor
      • Web
    • Data
    • DI
      • Exception
    • Event
    • Filter
    • Input
    • Ldap
    • Registry
      • Format
    • Session
      • Storage
    • String
    • Uri
    • Utilities
  • None
  • PasswordCompat
    • binary
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Yaml
        • Exception
    • Polyfill
      • Util

Classes

  • Apc
  • Database
  • Memcache
  • Memcached
  • None
  • Wincache
  • Xcache

Class Apc

APC session storage handler for PHP

Joomla\Session\Storage
Extended by Joomla\Session\Storage\Apc
Namespace: Joomla\Session\Storage
Deprecated: 2.0 The Storage class chain will be removed.
Since: 1.0
See: http://www.php.net/manual/en/function.session-set-save-handler.php
Located at vendor/joomla/session/Joomla/Session/Storage/Apc.php

Methods summary

public
# __construct( array $options = array() )

Constructor

Constructor

Parameters

$options
array - $options Optional parameters

Throws

RuntimeException

Since

1.0

Overrides

Joomla\Session\Storage::__construct
public string
# read( string $id )

Read the data for a particular session identifier from the SessionHandler backend.

Read the data for a particular session identifier from the SessionHandler backend.

Parameters

$id
string - $id The session identifier.

Returns

string - The session data.

Since

1.0

Overrides

Joomla\Session\Storage::read
public boolean
# write( string $id, string $session_data )

Write session data to the SessionHandler backend.

Write session data to the SessionHandler backend.

Parameters

$id
string - $id The session identifier.
$session_data
string - $session_data The session data.

Returns

boolean - True on success, false otherwise.

Since

1.0

Overrides

Joomla\Session\Storage::write
public boolean
# destroy( string $id )

Destroy the data for a particular session identifier in the SessionHandler backend.

Destroy the data for a particular session identifier in the SessionHandler backend.

Parameters

$id
string - $id The session identifier.

Returns

boolean - True on success, false otherwise.

Since

1.0

Overrides

Joomla\Session\Storage::destroy
public static boolean
# isSupported( )

Test to see if the SessionHandler is available.

Test to see if the SessionHandler is available.

Returns

boolean - True on success, false otherwise.

Since

1.0

Overrides

Joomla\Session\Storage::isSupported

Methods inherited from Joomla\Session\Storage

close(), gc(), getInstance(), open(), register()

Magic methods summary

Properties summary

Properties inherited from Joomla\Session\Storage

$instances

Joomla! Framework TM API documentation generated by ApiGen 2.8.0
Joomla!® and Joomla! Framework™ are trademarks of Open Source Matters, Inc. in the United States and other countries.