CMC for PHP
  • Namespace
  • Class
  • Tree

Namespaces

  • cmc
    • core
      • ui
    • db
      • mysqli
    • error
    • ui
      • widgets
  • PHP

Classes

  • cache
  • request
  • translation

Interfaces

  • IClonable
  • ISerializable

CMC for PHP is a web framework for PHP.
Copyright (c) 2014 by Calmarsoft company http://calmarsoft.com (FRANCE). All rights reserved.
Project information available here.

Class cache

global cache management

Namespace: cmc\core
Copyright: Copyright (c) Calmarsoft company (FRANCE) (http://calmarsoft.com)
License: GNU General Public License version 3
Version: 0.9
Link: CMC Project
Located at core/cache.php

Methods summary

public static string
# store_path( string $key )

calculates a storepath for the given key

calculates a storepath for the given key

Parameters

$key
string
key value

Returns

string
path
public static
# global_store( string $key, binary $var )

stores a variable in the global cache

stores a variable in the global cache

Parameters

$key
string
key value
$var
binary
value
public static boolean
# global_exists( string $key )

tests if a variable is present in the cache

tests if a variable is present in the cache

Parameters

$key
string
key value

Returns

boolean
public static
# global_remove( string $key )

removes a cache entry

removes a cache entry

Parameters

$key
string
key value
public static binary|boolean
# global_get( string $key )

retrieves a variable from the cache

retrieves a variable from the cache

Parameters

$key
string
key value

Returns

binary|boolean

Magic methods summary

CMC for PHP API documentation generated by ApiGen 2.8.0