PHP Класс WP_Spider_Cache_Object
WordPress's Object Cache is used to save on trips to the database. It stores
all of the cache data to memory and makes the cache contents available by
using a key, which is used to name and later retrieve cached data.
This Object Cache replaces WordPress's built in runtime cache by placing it
in the wp-content folder, and is loaded via wp-settings.php.
Показать файл
Открыть проект
Открытые свойства
Открытые методы
Метод |
Описание |
|
__construct ( null $persistent_id = NULL ) |
Instantiate the class. |
|
Описание методов
__construct()
публичный Метод
Instantiates the class and returns adds the servers specified
in the $memcached_servers global array.
public __construct ( null $persistent_id = NULL ) |
$persistent_id |
null |
To create an instance that persists between requests, use persistent_id to specify a unique ID for the instance. |
Описание свойств
$daemon_class_name публичное свойство
Holds the cache daemon class name.
public Memcached $daemon_class_name |
Результат |
Memcached |
|
$engine_class_name публичное свойство
Holds the cache engine class name.
public Memcache $engine_class_name |
Результат |
Memcache |
|
$servers_fallback публичное свойство
Holds the fallback servers.
public array $servers_fallback |
Результат |
array |
|
$servers_global публичное свойство
public Memcached $servers_global |
Результат |
Memcached |
|