2017 © Pedro Peláez
 

library cflash

PHP classes for database handling upon PDO

image

dalle/cflash

PHP classes for database handling upon PDO

  • Monday, November 24, 2014
  • by dalleman
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

CFLASH

Build Status Scrutinizer Code Quality Code Coverage, (*1)

The cflash class will be loaded using psr-4 protocols installing with packagist., (*2)

There are two functions in the class:, (*3)

insert($message = '') Insert puts an entry into $_SESSION['CFlashMessage'] and that entry is forwarded as the parameter $message., (*4)

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., (*5)

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., (*6)

Make sure you have started an active session before using these functions otherwise you will get an error.

The Versions

24/11 2014

dev-master

9999999-dev

PHP classes for database handling upon PDO

  Sources   Download

The Requires

  • php >=5.4

 

by Dalle Babic

micro framework mvc module education