Welcome Guest, Not a member yet? Register   Sign In
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




Theme © iAndrew 2016 - Forum software by © MyBB