dalle / cflash
PHP classes for database handling upon PDO
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/dalle/cflash
Requires
- php: >=5.4
This package is not auto-updated.
Last update: 2026-01-13 09:23:17 UTC
README
The cflash class will be loaded using psr-4 protocols installing with packagist.
There are two functions in the class:
insert($message = '') Insert puts an entry into $_SESSION['CFlashMessage'] and that entry is forwarded as the parameter $message.
printMessage() This prints a div encapsuling the message previously put in $_SESSION['CFlashMessage'] and will after displaying it empty $_SESSION['CFlashMessage'] so that it doesn't show it again.
I have also added a css-file that you can load into your previous css-file making the flash message look a little bit cleaner.