• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Display login form and exit. output->_display?

I have a controller class that checks login status in the constructor. In some cases, I'd like to display a form (instead of running a controller function), and exit.

The way I'm currently doing this that seems to be working is just load->view followed by output->_display()

Am I going about this the wrong way? Bad practice? Thanks Smile

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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