2017 © Pedro Peláez
 

library flash

Plugin that displays flashmessages

image

flash/flash

Plugin that displays flashmessages

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

The README.md

Flash

Begin by

adding the following lines in your CDIFActoryDefault located in src/DI, (*1)

$this->setShared('flashmessage', function() {
        $message = new \flash\flash\CFlashMessage($this);
        return $message;
    });

Followed by

adding the following lines in your desired function, (*2)

$app->flashmessage->insertMessage('Some MEssage');

The last step

is to show the message in the view, (*3)

 $app->flashmessage->printMessage(); 

The Versions

24/11 2014

dev-master

9999999-dev https://github.com/Carleriksson91/

Plugin that displays flashmessages

  Sources   Download

MIT

The Requires

  • php >=5.4

 

flash education