PHP code example of jenzri-nizar / zf3-flashmessenger
1. Go to this page and download the library: Download jenzri-nizar/zf3-flashmessenger library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jenzri-nizar / zf3-flashmessenger example snippets
'modules' => array(
'...',
'Zend\Mvc\Plugin\FlashMessenger',
'Zf3\Flashmessenger'
),
$this->FlashMsg();
$this->flashMessenger()->addSuccessMessage('Un message de réussite');
$this->flashMessenger()->addErrorMessage('Erreur avec le système.');
$this->flashMessenger()->addInfoMessage('Info message');
$this->flashMessenger()->addWarningMessage("Message d'avertissement.");