mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Change the methods from private to public.
This commit is contained in:
@@ -32,7 +32,7 @@ class cache {
|
|||||||
* @var string $key the cache id
|
* @var string $key the cache id
|
||||||
* @var string $value string to be cached
|
* @var string $value string to be cached
|
||||||
*/
|
*/
|
||||||
private function set($key, $value) {
|
public function set($key, $value) {
|
||||||
//send a custom event
|
//send a custom event
|
||||||
|
|
||||||
//run the memcache
|
//run the memcache
|
||||||
@@ -50,7 +50,7 @@ class cache {
|
|||||||
* Get a specific item from the cache
|
* Get a specific item from the cache
|
||||||
* @var string $key cache id
|
* @var string $key cache id
|
||||||
*/
|
*/
|
||||||
private function get($key) {
|
public function get($key) {
|
||||||
//send a custom event
|
//send a custom event
|
||||||
|
|
||||||
//run the memcache
|
//run the memcache
|
||||||
@@ -68,7 +68,7 @@ class cache {
|
|||||||
* Delete a specific item from the cache
|
* Delete a specific item from the cache
|
||||||
* @var string $key cache id
|
* @var string $key cache id
|
||||||
*/
|
*/
|
||||||
private function delete($key) {
|
public function delete($key) {
|
||||||
//send a custom event
|
//send a custom event
|
||||||
|
|
||||||
//run the memcache
|
//run the memcache
|
||||||
@@ -85,7 +85,7 @@ class cache {
|
|||||||
/**
|
/**
|
||||||
* Delete the entire cache
|
* Delete the entire cache
|
||||||
*/
|
*/
|
||||||
private function flush() {
|
public function flush() {
|
||||||
//send a custom event
|
//send a custom event
|
||||||
|
|
||||||
//run the memcache
|
//run the memcache
|
||||||
|
|||||||
Reference in New Issue
Block a user