[eluser]codeigniterzzz[/eluser]
Basically i want to stop codeigniter executing from anywhere in a controller, and i don't mean just return after loading a view. So for example, lets say i have a method i call within my controller, and in that method I want to stop execution of codeigniter after loading the view. Example:
Code:
class xample extends CI_Controller
{
public function __construct()
{
parent::__contruct();
}
public function testing()
{
$this->stopexecution();
// other code, w/e it may be.
}
private function stopexecution()
{
// code for stopping codeigniter execution after loading a view in this method.
}
}
in the stopexecution() method, how do i stop codeigniter execution?