[eluser]Crusoe[/eluser]
For example, I found out by trial and error that this also works :
Code:
class ProductModel extends CI_Model {
function get_products() {
$query = $this->db->query('select blah, blah products');
}
}
I just guessed that db might support a method a method called "query" and tried it, it worked.
Is there any way of finding what are the members and methods of the base classes in CI ?
I tried looking through Loader.php, but it confuses me completely. Is there some documentation somewhere that explains how Loader.php works ?