core/MY_Model.php
public function get_many($values)
    {
        $this->_database->where_in($this->primary_key, $values);

        return $this->get_all();
    }
public function get_many($values)
    {
        $this->_database->where_in($this->primary_key, $values);

        return $this->get_all();
    }
public function get_many ( $ values ) { $ this -> _database -> where_in ( $ this -> primary_key , $ values ) ; return $ this -> get_all ( ) ; }
Fetch an array of records based on an array of primary values.
Fetch an array of records based on an array of primary values .