File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
user_guide_src/source/libraries/sessions Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- session ()->setFlashdata ('alerts ' , 'Operation success ! ' );
3
+ session ()->setFlashdata ('alerts ' , 'Operation successful ! ' );
4
4
5
- /**
6
- * Get flash value 'Operation success !' in another controller.
5
+ /*
6
+ * Get flash value 'Operation successful !' in another controller.
7
7
*
8
8
* echo session()->getFlashdata('alerts');
9
9
*/
12
12
session ()->markAsTempdata ('alerts ' );
13
13
14
14
// Or simply rewrite it directly
15
- session ()->setTempdata ('alerts ' , 'Operation success ! ' );
15
+ session ()->setTempdata ('alerts ' , 'Operation successful ! ' );
16
16
17
- /**
18
- * Get temp value 'Operation success !' in another controller.
17
+ /*
18
+ * Get temp value 'Operation successful !' in another controller.
19
19
*
20
20
* echo session()->getTempdata('alerts');
21
21
*
You can’t perform that action at this time.
0 commit comments