core/MY_Model.php
private function _fetch_table()
    {
        if ($this->_table == NULL)
        {
            $this->_table = plural(preg_replace('/(_m|_model)?$/', '', strtolower(get_class($this))));
        }
    }
private function _fetch_table()
    {
        if ($this->_table == NULL)
        {
            $this->_table = plural(preg_replace('/(_m|_model)?$/', '', strtolower(get_class($this))));
        }
    }
private function _fetch_table ( ) { if ( $ this -> _table == NULL ) { $ this -> _table = plural ( preg_replace ( '/(_m|_model)?$/' , '' , strtolower ( get_class ( $ this ) ) ) ) ; } }
Guess the table name by pluralising the model name
Guess the table name by pluralising the model name