openlss / func-ui
UI helpers for OpenLSS interfaces
Installs: 112
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/openlss/func-ui
Requires
- php: >=5.3.2
- openlss/lib-tpl: ~0.0.1
This package is not auto-updated.
Last update: 2025-09-27 16:58:13 UTC
README
User Inteface (UI) helper functions for OpenLSS web frameworks
Usage
//save an alert to be displayed alert('The process failed',false); //redirect user to new page redirect('http://google.com');
Reference
(bool) alert($msg,$success=true,$delayed=false)
- $msg The message to be displayed
- $success TRUE = success, FALSE = error, NULL = notice
- $delayed When TRUE alert is saved to a session to be displayed after a redirect
(void) redirect($url)
301 Redirect user to new URL WILL HALT OPERATION OF THE SCRIPT