• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dot notation support for getFlashdata() method

#1
session() global method and $session->get() method support for dot notation when accessing array elements. but getFlashdata() does not support for that.

Its very convenient if we can use getFlashdata() method like

PHP Code:
$session->getFlashdata('errors.password'

instead

PHP Code:
$session->getFlashdata('errors')['password'
Reply

#2
I’m not sure if there are technical limitations but I would like to see this happen.
Reply

#3
I think that would be a great addition to the framework.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.