diff --git a/src/View.php b/src/View.php index 53c90cd..e0e8bea 100644 --- a/src/View.php +++ b/src/View.php @@ -598,6 +598,10 @@ class View { } + /** + * Method for set the flash message + */ + static public function set_flash($text) { @@ -605,6 +609,10 @@ class View { } + /** + * Method for show the flash message + */ + static public function show_flash() { @@ -625,6 +633,17 @@ class View { } + /** + * Method for escape the variables in an view + */ + + static public function e($text) + { + + return Utils::form_text($text); + + } + } ?> \ No newline at end of file