application/core/MY_Model.php
// Helper debug function that you'll see in various classes cause this is how I like to debug stuff
Helper debug function that you'll see in various classes cause this is how I like to debug stuff
Helper debug function that you ' ll see in various classes cause this is how I like to debug stuff
protected function debug($var, $exit = false) {
        echo "<pre>";
        var_dump($var);
        echo "</pre>";
        if($exit) {
            exit;
        }
    }
protected function debug ( $ var , $ exit = false ) { echo " <pre> " ; var_dump ( $ var ) ; echo " </pre> " ; if ( $ exit ) { exit ; } }
Helper debug function that you'll see in various classes cause this is how I like to debug stuff
Helper debug function that you ' ll see in various classes cause this is how I like to debug stuff