I am using TankAuth with Codeigniter, and I was wondering if it is alright to call library specific methods from the view, as opposed to passing them from the controller? For example,
$this->tank_auth->is_logged_in()
Called from the view is so much more convenient for outputting dynamic HTML than passing the variables from the controller. However, is it safe? Is it an acceptable practice?