Documentation

BladeOneCacheRedis.php

Interfaces, Classes and Traits

BladeOneCacheRedis

Table of Contents

CACHEREDIS_SCOPEURL  = 1
trait BladeOneCacheRedis Copyright (c) 2016 Jorge Patricio Castro Castillo MIT License. Don't delete this comment, its part of the license.

Constants

CACHEREDIS_SCOPEURL

trait BladeOneCacheRedis Copyright (c) 2016 Jorge Patricio Castro Castillo MIT License. Don't delete this comment, its part of the license.

public mixed CACHEREDIS_SCOPEURL = 1

Extends the tags of the class BladeOne. Its optional It adds the next tags to the template @ cache([cacheid],[duration=86400]). The id is optional. The duration of the cache is in seconds // content here @ endcache() It also adds a new function (optional) to the business or logic layer if ($blade->cacheExpired('hellocache',1,5)) { //'helloonecache' =template, =1 id cache, 5=duration (seconds) // cache expired, so we should do some stuff (such as read from the database) }

Tags
version
0.1

2017-12-15 NOT YET IMPLEMENTED, ITS A WIP!!!!!!!!

link
https://github.com/EFTEC/BladeOne

Search results