UAP 4 Documentation - SuccessMessages

Welcome to UAP Docs - SuccessMessages

SuccessMessages Library


The SuccessMessages Library is designed to work site wide in UAP.

It is already included in the header file of UAP.

use Libs\SuccessMessages;

echo SuccessMessages::display();
echo SuccessMessages::display_raw($success);

You can use this Library on current page, or automaticly redirect to selected page.

To use it on current page just add the following to your Controller:

$data['success'] = "You had a success!"

To use it with a redirect to a new page just add the following to your Controller:

SuccessMessages::push('You have logged in!', 'Home');

It can also be used to refresh current page.

SuccessMessages::push('Yay! You had a Success!', '');

- Can't find what your looking for? Please use Forum.

UAP 4 Documentation - SuccessMessages

Title
Statistics
Last Reply
Forum Permissions
You cannot post in this forum.
You cannot moderate this forum.
You cannot administrate this forum.