olive / cinformer
A class for displaying messages via flash memory
dev-master
2014-11-29 22:31 UTC
Requires
- php: >=5.4
This package is not auto-updated.
Last update: 2024-04-23 14:28:30 UTC
README
CInformer
A class written for Anax-MVC (Mikael Roos)
Built by Julius Semenas
License
This software is free and carries a MIT license.
Usage
The module is written primarily for Anax-MVC. TO include the module into your project use:
$di->set('informer', '\Olive\cinformer\CInformer');
The module is compatible with any other PHP framework as well.
Use setMessage()
for setting the message. Use getMessage()
to tretrieve the message at required place. Use clear()
to clean the flash memeory variable. For style of the messages, put the css or .less file into the dedicate direcotry, or include your own style.
Copyright (c) 2014 Julius Semenas