Uri Cache
__construct()
__construct()<?php
public function __construct($compression = 0, $type = 'html') {
// Set the cache directory (assuming ROOT_PATH is defined)
$this->cacheDir = ROOT_PATH . '/writeable/cache/';
$this->compression = $compression;
$this->headerType = $type;
$this->cacheLogin = false;
}headers()
headers()set()
set()get()
get()delete()
delete()has()
has()clear()
clear()Example
Last updated
Was this helpful?