Documentation

bladeone

Interfaces, Classes and Traits

BladeOne
BladeOne - A Blade Template implementation in a single file
BladeOneCache
trait BladeOneCache Copyright (c) 2016 Jorge Patricio Castro Castillo MIT License. Don't delete this comment, its part of the license.
BladeOneCacheRedis
BladeOneCustom
BladeOneHtml
trait BladeOneHtml Copyright (c) 2016 Jorge Patricio Castro Castillo MIT License. Don't delete this comment, its part of the license.
BladeOneHtmlBootstrap
trait BladeOneHtmlBootstrap Copyright (c) 2016 Jorge Patricio Castro Castillo MIT License. Don't delete this comment, its part of the license.
BladeOneLang
Trait BladeOneLang It adds the next tags <code> select: @ _e('hello') @ _n('Product','Products',$n) @ _ef('hello %s',$user) </code>

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