Vergleich inc/cachehandlers/apc.php - 1.8.6 - 1.8.17

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 11Zeile 11
/**
* APC Cache Handler
*/

/**
* APC Cache Handler
*/

class apcCacheHandler

class apcCacheHandler implements CacheHandlerInterface

{
/**
* Unique identifier representing this copy of MyBB

{
/**
* Unique identifier representing this copy of MyBB

Zeile 20Zeile 20
	 */
public $unique_id;


	 */
public $unique_id;


	/**
* @param bool $silent ignored
*/
function __construct($silent=false)

	function __construct()




	{
global $mybb;


	{
global $mybb;


Zeile 56Zeile 53
	 * Connect and initialize this handler.
*
* @param string $name

	 * Connect and initialize this handler.
*
* @param string $name

	 * @param bool $hard_refresh ignored

 
	 * @return boolean True if successful, false on failure
*/

	 * @return boolean True if successful, false on failure
*/

	function fetch($name, $hard_refresh=false)

	function fetch($name)

	{
if(apc_exists($this->unique_id."_".$name))
{

	{
if(apc_exists($this->unique_id."_".$name))
{

Zeile 109Zeile 105
	 *
* @return string
*/

	 *
* @return string
*/

	function size_of($name)

	function size_of($name='')

	{
global $lang;


	{
global $lang;