MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
Referência à classe XcacheCache
Diagrama de heranças da classe XcacheCache
AbstractCache Cache

Membros públicos

 getIds ()
 
- Membros públicos herdados de AbstractCache
 setNamespace ($namespace)
 
 fetch ($id)
 
 contains ($id)
 
 save ($id, $data, $lifeTime=0)
 
 delete ($id)
 
 deleteAll ()
 
 deleteByRegex ($regex)
 
 deleteByPrefix ($prefix)
 
 deleteBySuffix ($suffix)
 

Membros protegidos

 _doFetch ($id)
 
 _doContains ($id)
 
 _doSave ($id, $data, $lifeTime=0)
 
 _doDelete ($id)
 
 _checkAuth ()
 

Descrição detalhada

Documentação das funções

◆ _checkAuth()

_checkAuth ( )
protected

Checks that xcache.admin.enable_auth is Off

Excepções

BadMethodCallException When xcache.admin.enable_auth is On

Retorna
void

Definido na linha 99 do ficheiro XcacheCache.php.

◆ _doContains()

_doContains ( $id)
protected

{Test if an entry exists in the cache.

Parâmetros
string$idcache id The cache id of the entry to check for.
Retorna
boolean TRUE if a cache entry exists for the given cache id, FALSE otherwise.
}

Reimplementado de AbstractCache.

Definido na linha 71 do ficheiro XcacheCache.php.

◆ _doDelete()

_doDelete ( $id)
protected

{Deletes a cache entry.

Parâmetros
string$idcache id
Retorna
boolean TRUE if the cache entry was successfully deleted, FALSE otherwise.
}

Reimplementado de AbstractCache.

Definido na linha 87 do ficheiro XcacheCache.php.

◆ _doFetch()

_doFetch ( $id)
protected

{Fetches an entry from the cache.

Parâmetros
string$idcache id The id of the cache entry to fetch.
Retorna
string The cached data or FALSE, if no cache entry exists for the given id.
}

Reimplementado de AbstractCache.

Definido na linha 63 do ficheiro XcacheCache.php.

◆ _doSave()

_doSave ( $id,
$data,
$lifeTime = 0 )
protected

{Puts data into the cache.

Parâmetros
string$idThe cache id.
string$dataThe cache entry/data.
int$lifeTimeThe lifetime. If != false, sets a specific lifetime for this cache entry (null => infinite lifeTime).
Retorna
boolean TRUE if the entry was successfully stored in the cache, FALSE otherwise.
}

Reimplementado de AbstractCache.

Definido na linha 79 do ficheiro XcacheCache.php.

◆ getIds()

getIds ( )

{Get an array of all the cache ids stored

Retorna
array $ids
}

Reimplementado de AbstractCache.

Definido na linha 42 do ficheiro XcacheCache.php.


A documentação para esta classe foi gerada a partir do seguinte ficheiro: